|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
uk.org.iscream.cms.server.client.AlerterManager
A manager for the Alerters. This class starts by loading all the alerters as specificed in the configuration. These alerters should implement the PluginAlerter interface. This class is then simply a reference point for the Alerters to get hooks on the various parts of the system that they require.
Field Summary | |
private LinkedList |
_alerterPipeline
LinkedList for holding the PluginAlerter objects (the pipeline). |
private static AlerterManager |
_instance
A reference to the single instance of this class |
private Logger |
_logger
This holds a reference to the system logger that is being used. |
private String |
_name
This is the friendly identifier of the component this class is running in. |
private ReferenceManager |
_refman
A reference to the reference manager in use |
private String |
_suffix
file name suffix for plugin alerter classes: |
static String |
REVISION
The current CVS revision of this class |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
private |
AlerterManager()
Constructs a new AlerterManager. |
Method Summary | |
static AlerterManager |
getInstance()
Return a reference to the single class. |
Queue |
getQueue()
Allows alerters to obtain a reference to the alerting queue so that they can process any alerts |
String |
toString()
Overrides the Object.toString()
method to provide clean logging (every class should have this). |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final String REVISION
private String _name
private Logger _logger
private ReferenceManager _refman
private final String _suffix
private LinkedList _alerterPipeline
private static AlerterManager _instance
Constructor Detail |
private AlerterManager()
Method Detail |
public static AlerterManager getInstance()
public String toString()
Object.toString()
method to provide clean logging (every class should have this).
This uses the uk.org.iscream.cms.util.FormatName class
to format the toString()
public Queue getQueue()
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |