Drools :: Core 6.1.0.Beta1

org.drools.core.impl
Class StatefulKnowledgeSessionImpl.RuleRuntimeEventListenerWrapper

java.lang.Object
  extended by org.drools.core.impl.StatefulKnowledgeSessionImpl.RuleRuntimeEventListenerWrapper
All Implemented Interfaces:
EventListener, WorkingMemoryEventListener
Enclosing class:
StatefulKnowledgeSessionImpl

public static class StatefulKnowledgeSessionImpl.RuleRuntimeEventListenerWrapper
extends Object
implements WorkingMemoryEventListener


Constructor Summary
StatefulKnowledgeSessionImpl.RuleRuntimeEventListenerWrapper(org.kie.api.event.rule.RuleRuntimeEventListener listener)
           
 
Method Summary
 boolean equals(Object obj)
          Since this is a class adapter for API compatibility, the equals() and hashCode() methods simply delegate the calls to the wrapped instance.
 int hashCode()
          Since this is a class adapter for API compatibility, the equals() and hashCode() methods simply delegate the calls to the wrapped instance.
 void objectInserted(ObjectInsertedEvent event)
           
 void objectRetracted(ObjectRetractedEvent event)
           
 void objectUpdated(ObjectUpdatedEvent event)
           
 org.kie.api.event.rule.RuleRuntimeEventListener unWrap()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulKnowledgeSessionImpl.RuleRuntimeEventListenerWrapper

public StatefulKnowledgeSessionImpl.RuleRuntimeEventListenerWrapper(org.kie.api.event.rule.RuleRuntimeEventListener listener)
Method Detail

objectInserted

public void objectInserted(ObjectInsertedEvent event)
Specified by:
objectInserted in interface WorkingMemoryEventListener

objectRetracted

public void objectRetracted(ObjectRetractedEvent event)
Specified by:
objectRetracted in interface WorkingMemoryEventListener

objectUpdated

public void objectUpdated(ObjectUpdatedEvent event)
Specified by:
objectUpdated in interface WorkingMemoryEventListener

unWrap

public org.kie.api.event.rule.RuleRuntimeEventListener unWrap()

hashCode

public int hashCode()
Since this is a class adapter for API compatibility, the equals() and hashCode() methods simply delegate the calls to the wrapped instance. That is implemented this way in order for them to be able to match corresponding instances in internal hash-based maps and sets.

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Since this is a class adapter for API compatibility, the equals() and hashCode() methods simply delegate the calls to the wrapped instance. That is implemented this way in order for them to be able to match corresponding instances in internal hash-based maps and sets.

Overrides:
equals in class Object

Drools :: Core 6.1.0.Beta1

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.