|
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.BTTProcessorHandler
public class BTTProcessorHandler
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 | |
---|---|
BTTProcessorHandler()
|
Method Summary | |
---|---|
ProcessorHandler |
dispatchEvent(BTTProcessorEventObject 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 BTTProcessorHandler()
Method Detail |
---|
public ProcessorHandler dispatchEvent(BTTProcessorEventObject anEvent)
dispatchEvent
in interface ProcessorHandler
public void handleEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext) throws DSEInvalidArgumentException
handleEvent
in interface ProcessorHandler
DSEInvalidArgumentException
public void handleEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext, java.lang.String aTID) throws DSEInvalidArgumentException
handleEvent
in interface ProcessorHandler
DSEInvalidArgumentException
public void stopHandlingEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext) throws DSEInvalidArgumentException, BTTProcessorHandlerNotFoundException
stopHandlingEvent
in interface ProcessorHandler
DSEInvalidArgumentException
BTTProcessorHandlerNotFoundException
public void stopHandlingEvent(java.lang.String anEventName, java.lang.String aNotifierName, Context aContext, java.lang.String aTID) throws DSEInvalidArgumentException, BTTProcessorHandlerNotFoundException
stopHandlingEvent
in interface ProcessorHandler
DSEInvalidArgumentException
BTTProcessorHandlerNotFoundException
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |