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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/componentmanager/ComponentManager.java (file contents):
Revision 1.5 by ajm, Tue Dec 12 20:45:56 2000 UTC vs.
Revision 1.10 by tdb, Thu Jan 18 23:22:22 2001 UTC

# Line 2 | Line 2
2   package uk.ac.ukc.iscream.componentmanager;
3  
4   //---IMPORTS---
5 import uk.ac.ukc.iscream.util.*;
5   import java.util.*;
6   import java.io.*;
7 + import uk.ac.ukc.iscream.util.*;
8  
9   /**
10   * The component manager is the starting point for all
# Line 109 | Line 109 | public class ComponentManager {
109                  component = new uk.ac.ukc.iscream.rootfilter.RootFilter();
110              } else if (componentName.equalsIgnoreCase("dbinterface")) {
111                  component = new uk.ac.ukc.iscream.dbinterface.DBInterface();
112 +            } else if (componentName.equalsIgnoreCase("clientinterface")) {
113 +                component = new uk.ac.ukc.iscream.clientinterface.ClientInterfaceMain();
114 +            // note the passing of the Filter's name in its constructor
115 +            } else if (componentName.equalsIgnoreCase("filter")) {
116 +                component = new uk.ac.ukc.iscream.filter.FilterMain(filterName);
117              }
118              // ###  Add new component constructors in the above section! ###
119              
# Line 138 | Line 143 | public class ComponentManager {
143       */
144      public static void usage() {
145          System.out.println("USAGE: java uk.ac.ukc.iscream.componentmanager.ComponentManager <option>");
146 +        System.out.println("   or: java -jar iscream.jar <option>");
147          System.out.println("WHERE <option>:");
148          System.out.println("      -l <filename> - the location of initial system properties");
149          System.out.println("                      the default is ./etc/default.properties");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines