org.apache.ode.bpel.iapi
Interface BpelEventListener

All Known Implementing Classes:
ActivityStateDocumentBuilder, DebugBpelEventListener

public interface BpelEventListener

Listener interface implemented by parties interested in receiving BpelEvent.


Method Summary
 void onEvent(BpelEvent bpelEvent)
          Handle events.
 void shutdown()
          Allows the clean up in listener implementations.
 void startup(java.util.Properties configProperties)
          Allows the initialisation of listeners.
 

Method Detail

onEvent

void onEvent(BpelEvent bpelEvent)
Handle events.

Parameters:
bpelEvent - BPEL event

startup

void startup(java.util.Properties configProperties)
Allows the initialisation of listeners. Called directly after removing the listener from the listeners list. configProperties provide access to configuration option defined in Ode's configuration file (depends on the used IL implementation). This parameter might be null if no configuration options are available (i.e. in test cases).

Parameters:
configProperties - configuration properties

shutdown

void shutdown()
Allows the clean up in listener implementations. Called directly before adding the listener to the listeners list.