com.haley.haleyrules.jsr94
Class HandleImpl
java.lang.Object
|
+--com.haley.haleyrules.jsr94.HandleImpl
- All Implemented Interfaces:
- javax.rules.Handle, java.io.Serializable
- public class HandleImpl
- extends java.lang.Object
- implements javax.rules.Handle
This class implements the Handle interface.
The Handle interface is a marker interface for vendor specific object identity mechanism. When using the
StatefulRuleSession objects that are added to rule session state are identified using a vendor supplied Handle
implementation. Handles are used to unambigiously identify objects within the rule session state and should not
suffer many of the object identity issues that arise when using multiple class loaders, serializing
StatefulRuleSessions, or using Object.equals or object1 == object2 reference equality.
- See Also:
- Serialized Form
|
Method Summary |
boolean |
equals(java.lang.Object object)
Compares the two handles to see if they are equal |
int |
hashCode()
Hash code of the handle |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
hashCode
public int hashCode()
- Hash code of the handle
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object object)
- Compares the two handles to see if they are equal
- Overrides:
equals in class java.lang.Object
- Parameters:
object - the object to compare with
Copyright © 2005-2006 Haley Systems, Inc. All Rights Reserved.