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.4 by ajm, Tue Dec 12 19:56:52 2000 UTC vs.
Revision 1.9 by tdb, Thu Jan 18 23:01:50 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  
# Line 107 | Line 106 | public class ComponentManager {
106                  component = new uk.ac.ukc.iscream.filtermanager.FilterManager();
107              } else if (componentName.equalsIgnoreCase("rootfilter")) {
108                  component = new uk.ac.ukc.iscream.rootfilter.RootFilter();
109 +            } else if (componentName.equalsIgnoreCase("dbinterface")) {
110 +                component = new uk.ac.ukc.iscream.dbinterface.DBInterface();
111 +            } else if (componentName.equalsIgnoreCase("clientinterface")) {
112 +                component = new uk.ac.ukc.iscream.clientinterface.ClientInterfaceMain();
113 +            // note the passing of the Filter's name in its constructor
114 +            } else if (componentName.equalsIgnoreCase("filter")) {
115 +                component = new uk.ac.ukc.iscream.filter.FilterMain(filterName);
116              }
117              // ###  Add new component constructors in the above section! ###
118              
# Line 136 | Line 142 | public class ComponentManager {
142       */
143      public static void usage() {
144          System.out.println("USAGE: java uk.ac.ukc.iscream.componentmanager.ComponentManager <option>");
145 +        System.out.println("   or: java -jar iscream.jar <option>");
146          System.out.println("WHERE <option>:");
147          System.out.println("      -l <filename> - the location of initial system properties");
148          System.out.println("                      the default is ./etc/default.properties");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines