| 53 |
|
* @param args the command line arguments |
| 54 |
|
*/ |
| 55 |
|
public static void main(String[] args) { |
| 56 |
+ |
System.out.println("-----------------------------------------"); |
| 57 |
|
System.out.println("--- i-scream Server Component Manager ---"); |
| 58 |
+ |
System.out.println("--- © 2001 The i-scream Project ---"); |
| 59 |
+ |
System.out.println("--- (http://www.i-scream.org.uk) ---"); |
| 60 |
+ |
System.out.println("-----------------------------------------"); |
| 61 |
|
System.out.println("--- Starting System ---"); |
| 62 |
|
|
| 63 |
|
// get the command line args |
| 194 |
|
while(i.hasNext()) { |
| 195 |
|
// get a refence to the component |
| 196 |
|
component = (Component) i.next(); |
| 197 |
< |
System.out.println(toString + ": starting component - " + component.toString()); |
| 197 |
> |
System.out.println(toString + ": dependency checking component - " + component.toString()); |
| 198 |
|
|
| 199 |
|
// check it's dependencies |
| 200 |
|
boolean depOK = component.depCheck(); |
| 201 |
|
if(depOK) { |
| 202 |
+ |
System.out.println(toString + ": starting component - " + component.toString()); |
| 203 |
|
// it should be ok to start the component |
| 204 |
|
try { |
| 205 |
|
// start the component |