|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.iscream.cms.server.filter.PluginFilterManager
This class setups up and manages Plugins in a Filter. A list of plugins to use is specified in the configuration, and these are all loaded upon first use of this class. This is a singleton class.
Field Summary | |
private LinkedList |
_filterPipeline
LinkedList for holding the PluginFilter objects (the pipeline). |
private static PluginFilterManager |
_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 filter classes: |
String |
REVISION
The current CVS revision of this class |
Constructor Summary | |
private |
PluginFilterManager()
Private Constructor - this part creates the filter pipeline This is a singleton class, btw. |
Method Summary | |
static PluginFilterManager |
getInstance()
Return a reference to the single class. |
boolean |
runFilters(XMLPacket packet)
apply all of the filters in the pipeline to the packet. |
String |
toString()
Overrides the Object.toString()
method to provide clean logging (every class should have this). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public final String REVISION
private final String _suffix
private LinkedList _filterPipeline
private static PluginFilterManager _instance
private String _name
private Logger _logger
private ReferenceManager _refman
Constructor Detail |
private PluginFilterManager()
Method Detail |
public static PluginFilterManager getInstance()
public boolean runFilters(XMLPacket packet)
packet
- an XMLPacket to be tested
public String toString()
Object.toString()
method to provide clean logging (every class should have this).
This uses the uk.org.iscream.cms.util.NameFormat class
to format the toString()
toString
in class Object
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |