The Drools implementation of the
Handle
interface which provides a marker interface for Drools-specific object identity mechanism. When using the
StatefulRuleSession
objects that are added to rule session state are identified using a Drools-supplied
Handle
implementation.
Handle
s 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.