org.drools.event.process
Interface ProcessEventManager

All Known Subinterfaces:
org.drools.runtime.process.InternalProcessRuntime, InternalProcessRuntime, KnowledgeRuntime, KnowledgeRuntimeEventManager, StatefulKnowledgeSession, StatelessKnowledgeSession
All Known Implementing Classes:
ProcessRuntimeImpl, StatefulProcessSession

public interface ProcessEventManager

A manager for process related events.


Method Summary
 void addEventListener(ProcessEventListener listener)
          Add a process event listener.
 Collection<ProcessEventListener> getProcessEventListeners()
          Returns all event listeners.
 void removeEventListener(ProcessEventListener listener)
          Remove a process event listener.
 

Method Detail

addEventListener

void addEventListener(ProcessEventListener listener)
Add a process event listener.

Parameters:
listener - the listener to add.

removeEventListener

void removeEventListener(ProcessEventListener listener)
Remove a process event listener.

Parameters:
listener - the listener to remove

getProcessEventListeners

Collection<ProcessEventListener> getProcessEventListeners()
Returns all event listeners.

Returns:
listeners the listeners


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