Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

alma::acs::container::corba::OrbConfigurator Class Reference

Inheritance diagram for alma::acs::container::corba::OrbConfigurator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void setOptions (String[] args)
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

OrbConfigurator getOrbConfigurator ()
void setDebug (boolean debug)

Static Public Attributes

final String ORB_CLASS_KEY = "org.omg.CORBA.ORBClass"
final String ORB_SINGLETON_CLASS_KEY = "org.omg.CORBA.ORBSingletonClass"
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

boolean debug = false

Private Attributes

CmdLineArgs m_cmdArgs
CmdLineRegisteredOption[] m_opts
int m_port

Detailed Description

Configures the CORBA ORB. Subclasses will encapsulate settings that are particular to certain ORBs.

Created on 17-Oct-2002 10:50:46

Author:
hsommer


Constructor & Destructor Documentation

alma::acs::container::corba::OrbConfigurator::OrbConfigurator  )  [inline, protected]
 


Member Function Documentation

abstract CmdLineRegisteredOption [] alma::acs::container::corba::OrbConfigurator::_declareOptions  )  [protected, pure virtual]
 

Declares command line options that will be recognized later.

Returns:
CmdLineRegisteredOption[]

Implemented in alma::acs::container::corba::JacOrbConfigurator, alma::acs::container::corba::JavaIDLConfigurator, and alma::acs::container::corba::OrbacusConfigurator.

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.

String [] alma::acs::container::corba::OrbConfigurator::getOptions  )  [inline]
 

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.

OrbConfigurator alma::acs::container::corba::OrbConfigurator::getOrbConfigurator  )  [inline, 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.

abstract String alma::acs::container::corba::OrbConfigurator::getPortPropertyName  )  [pure virtual]
 

Implemented in alma::acs::container::corba::JacOrbConfigurator, alma::acs::container::corba::JavaIDLConfigurator, and alma::acs::container::corba::OrbacusConfigurator.

Properties alma::acs::container::corba::OrbConfigurator::getProperties boolean  suppressPortProperty  )  [inline]
 

Properties alma::acs::container::corba::OrbConfigurator::getProperties  )  [inline]
 

Gets the Properties like org.omg.CORBA.ORBClass

void alma::acs::container::corba::OrbConfigurator::setDebug boolean  debug  )  [inline, static]
 

void alma::acs::container::corba::OrbConfigurator::setDefaultOptions  )  [inline, 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  )  [inline]
 

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.

void alma::acs::container::corba::OrbConfigurator::setPort int  port  )  [inline]
 


Member Data Documentation

boolean alma::acs::container::corba::OrbConfigurator::debug = false [static, protected]
 

CmdLineArgs alma::acs::container::corba::OrbConfigurator::m_cmdArgs [private]
 

CmdLineRegisteredOption [] alma::acs::container::corba::OrbConfigurator::m_opts [private]
 

int alma::acs::container::corba::OrbConfigurator::m_port [private]
 

final String alma::acs::container::corba::OrbConfigurator::ORB_CLASS_KEY = "org.omg.CORBA.ORBClass" [static]
 

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]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:52:33 2009 for ACS Java API by doxygen 1.3.8