org.drools.impl
Class StatefulKnowledgeSessionImpl.WorkingMemoryEventListenerWrapper

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

public static class StatefulKnowledgeSessionImpl.WorkingMemoryEventListenerWrapper
extends Object
implements WorkingMemoryEventListener


Constructor Summary
StatefulKnowledgeSessionImpl.WorkingMemoryEventListenerWrapper(org.drools.event.rule.WorkingMemoryEventListener 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.drools.event.rule.WorkingMemoryEventListener unWrap()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulKnowledgeSessionImpl.WorkingMemoryEventListenerWrapper

public StatefulKnowledgeSessionImpl.WorkingMemoryEventListenerWrapper(org.drools.event.rule.WorkingMemoryEventListener 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.drools.event.rule.WorkingMemoryEventListener 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


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.