|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IEventHandler
Interface to implement for a subscribing application.
The object that implements this interface must contain the
business logic related to this event.
| Method Summary | |
|---|---|
java.lang.String |
getHandlerName()
Returns the unique logical name of this event handler. |
boolean |
isRunning()
Should return true if this instance is active. |
void |
onEvent(java.lang.Object pEventObject,
ITracking pEventTracking)
Handles the incoming EAI Event. |
void |
start()
Invoked by the subscribing application to inform the handler that it must load itself. |
void |
stop()
Invoked by the subscribing application to inform the handle that it must shut down. |
| Method Detail |
|---|
void onEvent(java.lang.Object pEventObject,
ITracking pEventTracking)
throws RaccoonException
pEventObject - the java object that was received by the subscriberpEventTracking - the tracking element related to this event.
RaccoonException - the only type of exception you have the right to throw.java.lang.String getHandlerName()
void start()
throws RaccoonException
RaccoonException - if the handler couldn't load itself.
void stop()
throws RaccoonException
RaccoonException - if the event handler can't shut down.boolean isRunning()
true if this instance is active.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||