ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginFilterManager.java
(Generate patch)

Comparing projects/cms/source/server/uk/org/iscream/cms/server/filter/PluginFilterManager.java (file contents):
Revision 1.3 by ajm, Wed Dec 13 13:36:46 2000 UTC vs.
Revision 1.6 by tdb, Thu Feb 1 00:18:42 2001 UTC

# Line 6 | Line 6 | import java.io.*;
6   import java.util.*;
7  
8   import uk.ac.ukc.iscream.util.*;
9 + import uk.ac.ukc.iscream.componentmanager.*;
10   import uk.ac.ukc.iscream.core.*;
11  
12   /**
13 < * the plugin filter manager
13 > * This class setups up and manages Plugins in a Filter. A list
14 > * of plugins to use is specified in the configuration, and these
15 > * are all loaded upon first use of this class.
16   * This is a singleton class.
17   *
18   * @author  $Author$
# Line 48 | Line 51 | class PluginFilterManager {
51          _logger.write(toString(), Logger.SYSINIT, "Initialising");
52          _logger.write(toString(), Logger.SYSMSG, "Creating filter pipeline for plugin filters ...");
53          
54 +        // get the configuration for this plug-in setup
55          Configuration config = _refman.getCM().getConfiguration(FilterMain.NAME);
56          String pluginsPackage = config.getProperty("Filter.PluginsPackage");
57          String pluginsList = config.getProperty("Filter.Plugins");
# Line 85 | Line 89 | class PluginFilterManager {
89       * return true if they all accept the packet.
90       * return false if any single filter rejects the packet.
91       * return true if there are no filters inthe pipeline.
92 +     *
93 +     * @param packet an XMLPacket to be tested
94 +     * @return whether the packet can be passed on
95       */
96      public boolean runFilters(XMLPacket packet){
97          

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines