|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessorNotifier
This interface provides its implementors with the capability to send and process event notifications. A class that sends event notifications must implement the Notifier interface or be a subclass of DSENotifier. The Notifier constructor registers a new Notifier instance to the EventManager. The EventManager can then manage the registering of Handlers for local or remote events in a transparent way for the application. Each class that includes the Handler interface must implement all of these methods.
Method Summary | |
---|---|
void |
addHandler(ProcessorHandler aHandler,
java.lang.String anEventName)
This method should add aHandler to the chain of Handlers for the notifier instance. |
Hashtable |
getHandlersList()
Returns the handlersList attribute value. |
java.lang.String |
getName()
Returns the name attribute value. |
void |
removeHandler(ProcessorHandler aHandler,
java.lang.String anEventName)
This method must remove aHandler from the chain of that specific Class instance if the event it is interested in matches anEventName. |
void |
setName(java.lang.String aName)
Sets the name attribute to aName. |
void |
signalEvent(java.lang.String anEventName)
Calls the dispatch method of the first Handler registered for the event anEventName and proceeds according to the defined event propagation criteria following the chain of Handlers. |
void |
signalEvent(java.lang.String anEventName,
Hashtable aParametersTable)
Calls the dispatch method of the first Handler registered for the event anEventName and proceeds according to the defined event propagation criteria following the chain of Handlers. |
void |
terminate()
This is a housekeeping process for Notifier instances. |
Method Detail |
---|
void addHandler(ProcessorHandler aHandler, java.lang.String anEventName) throws DSEInvalidArgumentException
DSEInvalidArgumentException
Hashtable getHandlersList()
java.lang.String getName()
void removeHandler(ProcessorHandler aHandler, java.lang.String anEventName) throws DSEInvalidArgumentException, BTTProcessorHandlerNotFoundException
DSEInvalidArgumentException
BTTProcessorHandlerNotFoundException
void setName(java.lang.String aName)
void signalEvent(java.lang.String anEventName) throws DSEInvalidArgumentException
DSEInvalidArgumentException
void signalEvent(java.lang.String anEventName, Hashtable aParametersTable) throws DSEInvalidArgumentException
DSEInvalidArgumentException
void terminate() throws DSEException
DSEException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |