org.drools.impl
Class StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper

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

public static class StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper
extends Object
implements AgendaEventListener


Constructor Summary
StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper(org.drools.event.rule.AgendaEventListener listener)
           
 
Method Summary
 void activationCancelled(ActivationCancelledEvent event, WorkingMemory workingMemory)
           
 void activationCreated(ActivationCreatedEvent event, WorkingMemory workingMemory)
           
 void afterActivationFired(AfterActivationFiredEvent event, WorkingMemory workingMemory)
           
 void afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event, WorkingMemory workingMemory)
           
 void afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event, WorkingMemory workingMemory)
           
 void agendaGroupPopped(AgendaGroupPoppedEvent event, WorkingMemory workingMemory)
           
 void agendaGroupPushed(AgendaGroupPushedEvent event, WorkingMemory workingMemory)
           
 void beforeActivationFired(BeforeActivationFiredEvent event, WorkingMemory workingMemory)
           
 void beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event, WorkingMemory workingMemory)
           
 void beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event, WorkingMemory workingMemory)
           
 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.
 org.drools.event.rule.AgendaEventListener unWrap()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper

public StatefulKnowledgeSessionImpl.AgendaEventListenerWrapper(org.drools.event.rule.AgendaEventListener listener)
Method Detail

activationCancelled

public void activationCancelled(ActivationCancelledEvent event,
                                WorkingMemory workingMemory)
Specified by:
activationCancelled in interface AgendaEventListener

activationCreated

public void activationCreated(ActivationCreatedEvent event,
                              WorkingMemory workingMemory)
Specified by:
activationCreated in interface AgendaEventListener

beforeActivationFired

public void beforeActivationFired(BeforeActivationFiredEvent event,
                                  WorkingMemory workingMemory)
Specified by:
beforeActivationFired in interface AgendaEventListener

afterActivationFired

public void afterActivationFired(AfterActivationFiredEvent event,
                                 WorkingMemory workingMemory)
Specified by:
afterActivationFired in interface AgendaEventListener

agendaGroupPopped

public void agendaGroupPopped(AgendaGroupPoppedEvent event,
                              WorkingMemory workingMemory)
Specified by:
agendaGroupPopped in interface AgendaEventListener

agendaGroupPushed

public void agendaGroupPushed(AgendaGroupPushedEvent event,
                              WorkingMemory workingMemory)
Specified by:
agendaGroupPushed in interface AgendaEventListener

unWrap

public org.drools.event.rule.AgendaEventListener 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

afterRuleFlowGroupActivated

public void afterRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
                                        WorkingMemory workingMemory)
Specified by:
afterRuleFlowGroupActivated in interface AgendaEventListener

afterRuleFlowGroupDeactivated

public void afterRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
                                          WorkingMemory workingMemory)
Specified by:
afterRuleFlowGroupDeactivated in interface AgendaEventListener

beforeRuleFlowGroupActivated

public void beforeRuleFlowGroupActivated(RuleFlowGroupActivatedEvent event,
                                         WorkingMemory workingMemory)
Specified by:
beforeRuleFlowGroupActivated in interface AgendaEventListener

beforeRuleFlowGroupDeactivated

public void beforeRuleFlowGroupDeactivated(RuleFlowGroupDeactivatedEvent event,
                                           WorkingMemory workingMemory)
Specified by:
beforeRuleFlowGroupDeactivated in interface AgendaEventListener


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