uk.org.iscream.cms.corbaservices
Class CorbaServices

java.lang.Object
  |
  +--uk.org.iscream.cms.corbaservices.CorbaServices

class CorbaServices
extends Object

CORBA Services Manager This class provides a simple wrapper to CORBA services that require a web service to "share" their IOR files. This provides an all-in-one way of starting up service(s) and serving their IOR files. No external web servers are required.

Version:
$Id: CorbaServices.java,v 1.12 2003/02/21 13:45:47 tdb Exp $
Author:
$Author: tdb $

Nested Class Summary
private static class CorbaServices.ServiceThread
          Inner class to provide a thread for running a Service.
 
Field Summary
static String DEFAULTOKURLS
          Default path to "ok URL's" list
static int DEFAULTPORT
          Default port number
static String DEFAULTPROPERTIES
          The default location of the properties file for the system
static String DEFAULTSERVICESCONF
          Default path to services list
static String DEFAULTWEBDIR
          Default path to web directory.
static String REVISION
          The current CVS revision of this class
 
Constructor Summary
(package private) CorbaServices()
           
 
Method Summary
private static LinkedList getServicesList(String filename)
          Read the services into a LinkedList.
static void main(String[] args)
          This main method starts the whole system up.
private static void usage()
          Print out usage information.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REVISION

public static final String REVISION
The current CVS revision of this class

See Also:
Constant Field Values

DEFAULTOKURLS

public static final String DEFAULTOKURLS
Default path to "ok URL's" list

See Also:
Constant Field Values

DEFAULTSERVICESCONF

public static final String DEFAULTSERVICESCONF
Default path to services list

See Also:
Constant Field Values

DEFAULTWEBDIR

public static final String DEFAULTWEBDIR
Default path to web directory. Note there is *no* trailing slash.

See Also:
Constant Field Values

DEFAULTPORT

public static final int DEFAULTPORT
Default port number

See Also:
Constant Field Values

DEFAULTPROPERTIES

public static final String DEFAULTPROPERTIES
The default location of the properties file for the system

See Also:
Constant Field Values
Constructor Detail

CorbaServices

CorbaServices()
Method Detail

main

public static void main(String[] args)
This main method starts the whole system up. A lot of the functionality is provided in this main class.


usage

private static void usage()
Print out usage information.


getServicesList

private static LinkedList getServicesList(String filename)
Read the services into a LinkedList. This is later parsed to get classes and parameters.

Parameters:
filename - the services configuration file
Returns:
a LinkedList of services


Copyright © 2000-2003 i-scream. All Rights Reserved.