|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.nucleus.logging.VariableArgumentApplicationLoggingImpl atg.nucleus.GenericService atg.service.event.GenericHandler
public class GenericHandler
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
protected java.lang.String[] |
mChannels
List of channels this handler listens to at startup. |
protected long |
mEventCount
Number of events received by this handler. |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
GenericHandler()
Empty constructor. |
Method Summary | |
---|---|
java.lang.String[] |
getChannels()
List of channels this handler listens to at startup. |
long |
getEventCount()
The number of events that have been sent to this event topic. |
java.lang.String |
getHandlerName()
Returns the name of the handler. |
boolean |
isRegisterAtStartup()
Returns property RegisterAtStartup |
void |
sendEvent(java.lang.Object pEvent)
Submits an event for handling. |
void |
setChannels(java.lang.String[] pValue)
List of channels this handler listens to at startup. |
void |
setRegisterAtStartup(boolean pRegisterAtStartup)
Sets property RegisterAtStartup |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
protected long mEventCount
protected java.lang.String[] mChannels
Constructor Detail |
---|
public GenericHandler()
Method Detail |
---|
public void setRegisterAtStartup(boolean pRegisterAtStartup)
public boolean isRegisterAtStartup()
public java.lang.String getHandlerName()
getHandlerName
in interface EventChannelListener
public void setChannels(java.lang.String[] pValue)
public java.lang.String[] getChannels()
public long getEventCount()
public void sendEvent(java.lang.Object pEvent)
sendEvent
in interface EventChannelListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |