|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object raccoon.tibco.tibrv.admin.AdminHandler
public class AdminHandler
The administrative message handler.
Constructor Summary | |
---|---|
AdminHandler(ILogger pLogger)
Default constructor. |
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)
Invoked when the shutdown command is received. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminHandler(ILogger pLogger)
pLogger
- the logging service that this component will use.Method Detail |
---|
public void onEvent(java.lang.Object pEventObject, ITracking pEventTracking) throws RaccoonException
onEvent
in interface IEventHandler
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.public java.lang.String getHandlerName()
getHandlerName
in interface IEventHandler
public void start() throws RaccoonException
start
in interface IEventHandler
RaccoonException
- if the handler couldn't load itself.public void stop() throws RaccoonException
stop
in interface IEventHandler
RaccoonException
- if the event handler can't shut down.public boolean isRunning()
true
if this instance is active.
isRunning
in interface IEventHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |