|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.base.DSEHandler
public class DSEHandler
The DSEHandler class instances process the events generated by Notifier instances. Handlers are organized by the EventsManager, or a specific Notifier in a chain structure. The handlers store information about the event they are interested in and the component that fires the event. The handler, when it receives control to dispatch the event, can decide whether to process it or ignore it and, after that, pass the event to the following handler in the chain or stop the event propagation.
Constructor Summary | |
---|---|
DSEHandler()
|
Method Summary | |
---|---|
Handler |
dispatchEvent(DSEEventObject anEvent)
Generates the event anEvent. |
void |
handleEvent(java.lang.String anEventName,
java.lang.String aNotifierName,
Context aContext)
Calls the EventManager class that registers the handler to the local notifier, if it is defined, or adds it to its own list of handlers if the notifier is remote. |
void |
handleEvent(java.lang.String anEventName,
java.lang.String aNotifierName,
Context aContext,
java.lang.String aTID)
Calls the EventManager class that registers the handler to the local notifier, if it is defined, or adds it to its own list of handlers if the notifier is remote. |
void |
stopHandlingEvent(java.lang.String anEventName,
java.lang.String aNotifierName,
Context aContext)
Allows the Handler to stop receiving a specific event for which it was registered previously. |
void |
stopHandlingEvent(java.lang.String anEventName,
java.lang.String aNotifierName,
Context aContext,
java.lang.String aTID)
Allows the Handler to stop receiving a specific event for which it was registered previously. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DSEHandler()
Method Detail |
---|
public Handler dispatchEvent(DSEEventObject anEvent)
dispatchEvent
in interface Handler
public void handleEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext) throws DSEInvalidArgumentException
handleEvent
in interface Handler
DSEInvalidArgumentException
public void handleEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext, java.lang.String aTID) throws DSEInvalidArgumentException
handleEvent
in interface Handler
DSEInvalidArgumentException
public void stopHandlingEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext) throws DSEInvalidArgumentException, DSEHandlerNotFoundException
stopHandlingEvent
in interface Handler
DSEInvalidArgumentException
DSEHandlerNotFoundException
public void stopHandlingEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext, java.lang.String aTID) throws DSEInvalidArgumentException, DSEHandlerNotFoundException
stopHandlingEvent
in interface Handler
DSEInvalidArgumentException
DSEHandlerNotFoundException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |