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.2 by ajm, Tue Dec 12 18:25:18 2000 UTC vs.
Revision 1.3 by ajm, Tue Dec 12 19:16:27 2000 UTC

# Line 103 | Line 103 | public class ComponentManager {
103              // ### This is where the list of supported components is checked! ###
104              if (componentName.equalsIgnoreCase("core")) {
105                  component = new uk.ac.ukc.iscream.core.Core();
106 +            } else if (componentName.equalsIgnoreCase("filtermanager")) {
107 +                component = new uk.ac.ukc.iscream.filtermanager.FilterManager();
108              }
109              // ###  Add new component constructors in the above section! ###
110 +            
111              if (component != null) {
112                  try {
113                      component.start();
# Line 117 | Line 120 | public class ComponentManager {
120                  System.err.println(toString + ": WARNING unsupported component not started");
121              }
122          }
123 <            System.out.println(toString + ": finished");
123 >            System.out.println(toString + ": running");
124              
125              // block on the ORB...in time, management functionality can be placed here.
126          refman.getORB().run();
127      }
128 <    
129 <  
127 <    /**
128 >
129 >    /**
130       * A simple method to print the usage of this class.
131       * It never returns, but instead exits to the system
132       * with a value 1, to indicate the system did not start

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines