com.ebay.carad.os.vitalsigns
Class AbstractListenerContainer

java.lang.Object
  extended by com.ebay.carad.os.vitalsigns.AbstractListenerContainer
All Implemented Interfaces:
IReportingListenerContainer
Direct Known Subclasses:
DashboardAgent, DashboardReport

public class AbstractListenerContainer
extends java.lang.Object
implements IReportingListenerContainer

Version:
$Id$
Author:
Jeremy Thomerson

Field Summary
private static org.apache.log4j.Logger LOGGER
           
private  java.util.List mReportingListeners
           
 
Constructor Summary
AbstractListenerContainer()
           
 
Method Summary
 void addReportingListener(IReportingListener listener)
           
protected  void fireListenersCompleted(IDashboardAgent agent)
           
protected  void fireListenersException(IReportingListenerContainer agent, ReportingException re, IDashboardReport rep)
           
protected  void fireListenersReportRan(IDashboardAgent agent, IDashboardReport report)
           
protected  void fireListenersStarted(IDashboardAgent agent)
           
 java.util.List getReportingListeners()
           
 void setReportingListeners(java.util.List listeners)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final org.apache.log4j.Logger LOGGER

mReportingListeners

private java.util.List mReportingListeners
Constructor Detail

AbstractListenerContainer

public AbstractListenerContainer()
Method Detail

setReportingListeners

public void setReportingListeners(java.util.List listeners)

addReportingListener

public void addReportingListener(IReportingListener listener)
Specified by:
addReportingListener in interface IReportingListenerContainer

fireListenersException

protected void fireListenersException(IReportingListenerContainer agent,
                                      ReportingException re,
                                      IDashboardReport rep)

fireListenersStarted

protected void fireListenersStarted(IDashboardAgent agent)

fireListenersCompleted

protected void fireListenersCompleted(IDashboardAgent agent)

fireListenersReportRan

protected void fireListenersReportRan(IDashboardAgent agent,
                                      IDashboardReport report)

getReportingListeners

public java.util.List getReportingListeners()
Specified by:
getReportingListeners in interface IReportingListenerContainer


Copyright © 2004-2009. All Rights Reserved.