|
|||||||||
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.queue.EventQueue atg.nucleus.logging.LogListenerQueue
public class LogListenerQueue
This is a queueing version of the interface atg.nucleus.logging.LogListener. Calls made to this class are queued, then passed on to the listeners of this interface
This class was generated automatically by atg.service.queue.EventQueueGenerator using the command java atg.service.queue.EventQueueGenerator atg.nucleus.logging.LogListener atg.nucleus.logging LogListenerQueue atg.service.queue.EventQueue
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
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 | |
---|---|
LogListenerQueue()
|
Method Summary | |
---|---|
void |
addLogListener(LogListener pListener)
Adds a listener to the list of log listeners |
protected EventQueueElement |
createElement()
Constructs a new blank EventQueueElement. |
protected void |
dispatchElement(EventQueueElement pElem)
Dispatches a Queue element to be handled. |
int |
getLogListenerCount()
Returns the number of log listeners |
LogListener[] |
getLogListeners()
Returns the list of log listeners as an array property. |
void |
logEvent(LogEvent arg0)
Logs the given log event. |
void |
removeLogListener(LogListener pListener)
Removes a listener from the list of log listeners |
Methods inherited from class atg.service.queue.EventQueue |
---|
addElement, dispatchQueueElements, doStartService, doStopService, flushQueue, getElement, getInitialCapacity, getQueuedEventCount, getQueueHead, getQueueSize, getThreadCount, getTransactionManager, getTransactionsEnabled, handleDispatchError, listQueuedElements, setInitialCapacity, setThreadCount, setTransactionManager, setTransactionsEnabled |
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
Constructor Detail |
---|
public LogListenerQueue()
Method Detail |
---|
protected EventQueueElement createElement()
EventQueue
createElement
in class EventQueue
public void addLogListener(LogListener pListener)
GenericService
addLogListener
in interface atg.nucleus.logging.ApplicationLoggingSender
addLogListener
in class GenericService
public void removeLogListener(LogListener pListener)
GenericService
removeLogListener
in interface atg.nucleus.logging.ApplicationLoggingSender
removeLogListener
in class GenericService
public int getLogListenerCount()
GenericService
getLogListenerCount
in interface atg.nucleus.logging.ApplicationLoggingSender
getLogListenerCount
in class GenericService
public LogListener[] getLogListeners()
GenericService
getLogListeners
in interface atg.nucleus.logging.ApplicationLoggingSender
getLogListeners
in class GenericService
public void logEvent(LogEvent arg0)
LogListener
logEvent
in interface LogListener
arg0
- the log eventprotected void dispatchElement(EventQueueElement pElem)
EventQueue
dispatchElement
in class EventQueue
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |