Public Member Functions | |
| void | setOptions (String[] args) |
| void | setORBInitRef (String objectID, String objectURL) |
| void | setPort (int port) |
| String[] | getOptions () |
| Properties | getProperties () |
| Properties | getProperties (boolean suppressPortProperty) |
| abstract String | getORBClass () |
| abstract String | getORBSingleton () |
| abstract String | getPortPropertyName () |
Static Public Member Functions | |
| static OrbConfigurator | getOrbConfigurator () |
| static void | setDebug (boolean debug) |
Static Public Attributes | |
| static final String | ORB_CLASS_KEY = "org.omg.CORBA.ORBClass" |
| static final String | ORB_SINGLETON_CLASS_KEY = "org.omg.CORBA.ORBSingletonClass" |
| static final int | ORB_DEFAULT_PORT = ACSPorts.getBasePort()*100 + 3000 + 51 |
Protected Member Functions | |
| OrbConfigurator () | |
| abstract CmdLineRegisteredOption[] | _declareOptions () |
| abstract Properties | _getProperties () |
| void | setDefaultOptions () |
Static Protected Attributes | |
| static boolean | debug = false |
Configures the CORBA ORB. Subclasses will encapsulate settings that are particular to certain ORBs.
Created on 17-Oct-2002 10:50:46
| alma.acs.container.corba.OrbConfigurator.OrbConfigurator | ( | ) | [protected] |
| abstract CmdLineRegisteredOption [] alma.acs.container.corba.OrbConfigurator._declareOptions | ( | ) | [protected, pure virtual] |
Declares command line options that will be recognized later.
Implemented in alma.acs.container.corba.JacOrbConfigurator, alma.acs.container.corba.JavaIDLConfigurator, and alma.acs.container.corba.OrbacusConfigurator.
Referenced by alma.acs.container.corba.OrbConfigurator.OrbConfigurator().
| abstract Properties alma.acs.container.corba.OrbConfigurator._getProperties | ( | ) | [protected, pure virtual] |
The values for ORB_CLASS_KEY, ORB_SINGLETON_CLASS_KEY don't need to be set here; if they are, they will be overwritten by those from getORBClass() and getORBSingleton().
Implemented in alma.acs.container.corba.JacOrbConfigurator, alma.acs.container.corba.JavaIDLConfigurator, and alma.acs.container.corba.OrbacusConfigurator.
Referenced by alma.acs.container.corba.OrbConfigurator.getProperties().
| String [] alma.acs.container.corba.OrbConfigurator.getOptions | ( | ) |
References alma.acs.util.CmdLineArgs.getAllArgs().
Referenced by alma.acs.container.corba.AcsCorba.initCorbaForClient().
| abstract String alma.acs.container.corba.OrbConfigurator.getORBClass | ( | ) | [pure virtual] |
Gets the value for the key "org.omg.CORBA.ORBClass".
Implemented in alma.acs.container.corba.JacOrbConfigurator, alma.acs.container.corba.JavaIDLConfigurator, and alma.acs.container.corba.OrbacusConfigurator.
Referenced by alma.acs.container.corba.OrbConfigurator.getProperties().
| static OrbConfigurator alma.acs.container.corba.OrbConfigurator.getOrbConfigurator | ( | ) | [static] |
| abstract String alma.acs.container.corba.OrbConfigurator.getORBSingleton | ( | ) | [pure virtual] |
Gets the value for the key "org.omg.CORBA.ORBSingletonClass".
Implemented in alma.acs.container.corba.JacOrbConfigurator, alma.acs.container.corba.JavaIDLConfigurator, and alma.acs.container.corba.OrbacusConfigurator.
Referenced by alma.acs.container.corba.OrbConfigurator.getProperties().
| abstract String alma.acs.container.corba.OrbConfigurator.getPortPropertyName | ( | ) | [pure virtual] |
| Properties alma.acs.container.corba.OrbConfigurator.getProperties | ( | boolean | suppressPortProperty | ) |
References alma.acs.container.corba.OrbConfigurator._getProperties(), alma.acs.container.corba.OrbConfigurator.getORBClass(), alma.acs.container.corba.OrbConfigurator.getORBSingleton(), alma.acs.container.corba.OrbConfigurator.getPortPropertyName(), alma.acs.container.corba.OrbConfigurator.ORB_CLASS_KEY, and alma.acs.container.corba.OrbConfigurator.ORB_SINGLETON_CLASS_KEY.
| Properties alma.acs.container.corba.OrbConfigurator.getProperties | ( | ) |
Gets the Properties like org.omg.CORBA.ORBClass
Referenced by alma.acs.container.corba.AcsCorba.initCorbaForClient().
| static void alma.acs.container.corba.OrbConfigurator.setDebug | ( | boolean | debug | ) | [static] |
| void alma.acs.container.corba.OrbConfigurator.setDefaultOptions | ( | ) | [protected] |
Sets values for default options that can be overwritten by calling setOptions. TODO: call this method from ctor
| void alma.acs.container.corba.OrbConfigurator.setOptions | ( | String[] | args | ) |
Sets options for the ORB as they would occur in a command line call. If any of the options in args have been set already, the value will be replaced.
References alma.acs.util.CmdLineArgs.parseArgs().
| void alma.acs.container.corba.OrbConfigurator.setORBInitRef | ( | String | objectID, | |
| String | objectURL | |||
| ) |
Sets the standard option "-ORBInitRef", see Corba spec 4.5.3.2.
References alma.acs.util.CmdLineArgs.parseArgs().
| void alma.acs.container.corba.OrbConfigurator.setPort | ( | int | port | ) |
boolean alma.acs.container.corba.OrbConfigurator.debug = false [static, protected] |
final String alma.acs.container.corba.OrbConfigurator.ORB_CLASS_KEY = "org.omg.CORBA.ORBClass" [static] |
Referenced by alma.acs.container.corba.OrbConfigurator.getProperties().
final int alma.acs.container.corba.OrbConfigurator.ORB_DEFAULT_PORT = ACSPorts.getBasePort()*100 + 3000 + 51 [static] |
final String alma.acs.container.corba.OrbConfigurator.ORB_SINGLETON_CLASS_KEY = "org.omg.CORBA.ORBSingletonClass" [static] |
Referenced by alma.acs.container.corba.OrbConfigurator.getProperties().
1.7.0