atg.service.datacollection
Class DataListenerQueue

java.lang.Object
  extended by atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
      extended by atg.nucleus.GenericService
          extended by atg.service.queue.EventQueue
              extended by atg.service.datacollection.DataListenerQueue
All Implemented Interfaces:
atg.naming.AbsoluteNameable, NameContextBindingListener, NameContextElement, atg.naming.NameContextParentable, NameResolver, AdminableService, atg.nucleus.Configured, ApplicationLogging, atg.nucleus.logging.ApplicationLoggingSender, atg.nucleus.logging.TraceApplicationLogging, VariableArgumentApplicationLogging, ComponentNameResolver, Service, ServiceListener, DataListener, java.util.EventListener
Direct Known Subclasses:
AgentAuditQueue

public class DataListenerQueue
extends EventQueue
implements DataListener

This is a queueing version of the interface atg.service.datacollection.DataListener. 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.service.datacollection.DataListener atg.service.datacollection DataListenerQueue 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
DataListenerQueue()
           
 
Method Summary
 void addDataItem(java.lang.Object arg0)
          Add the given data item to the aggregate
 void addDataListener(DataListener pListener)
           
protected  EventQueueElement createElement()
          Constructs a new blank EventQueueElement.
protected  void dispatchElement(EventQueueElement pElem)
          Dispatches a Queue element to be handled.
 int getDataListenerCount()
           
 DataListener[] getDataListeners()
           
 void removeDataListener(DataListener pListener)
           
 
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.GenericService
addLogListener, createAdminServlet, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
 
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, 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

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

DataListenerQueue

public DataListenerQueue()
Method Detail

createElement

protected EventQueueElement createElement()
Description copied from class: EventQueue
Constructs a new blank EventQueueElement. Subclasses must implement this method.

Specified by:
createElement in class EventQueue

addDataListener

public void addDataListener(DataListener pListener)

removeDataListener

public void removeDataListener(DataListener pListener)

getDataListenerCount

public int getDataListenerCount()

getDataListeners

public DataListener[] getDataListeners()

addDataItem

public void addDataItem(java.lang.Object arg0)
Description copied from interface: DataListener
Add the given data item to the aggregate

Specified by:
addDataItem in interface DataListener

dispatchElement

protected void dispatchElement(EventQueueElement pElem)
Description copied from class: EventQueue
Dispatches a Queue element to be handled. Subclasses must implement this method.

Specified by:
dispatchElement in class EventQueue