javax.rules
Interface Handle

All Superinterfaces:
java.io.Serializable

public interface Handle
extends java.io.Serializable

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 muliple class loaders, serializing StatefulRuleSessions, or using Object.equals or object1 == object2 reference equality.

See Also:
StatefulRuleSession



Copyright © 2004 Java Community Process. All Rights Reserved.