public class Tools
extends java.lang.Object
Property Keyword | Datatype | Default | Description |
---|---|---|---|
NameServicePort | String | 900 | The port number of the requested CORBA Name Service.Is ignored if ORBInitRef is set. |
NameServiceHost | String | localhost | The host name of the requested CORBA Name Service.Is ignored if ORBInitRef is set. This value is an application property. |
NameServiceName | String | NameService | The name of the CORBA Name Service.Is ignored if ORBInitRef is set. This value is an application property. |
CORBAProtocol | String | "" | The CORBA protocol in the corbaloc (CORBA locator) to find the name service. The default of CORBA is iiop, which is identical with an empty string. For IIOP over SSL the protocol must be ssliop. This value is an application property. |
ORBInitRef | String | none | The full CORBA locator. If this value is set, the values of NameServiceName, NameServicePort, NameServiceHost and CORBAProtocol are ignored. This value is an application property. Example: corbaloc::1.2@MyServiceHost:MyServicePort/NameService |
ORBProperty[???] | String | null | An ORB property. The property name of the property is defined in the brackets. Example: ORBProperty[com.sun.CORBA.codeset.charsets]=0x05010001, 0x00010109 ORBProperty[com.sun.CORBA.codeset.wcharsets]=0x00010109, 0x05010001 |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CORBA_IMPLEMENTATION |
static java.lang.String |
DEFAULT_CORBA_PROTOCOL |
static java.lang.String |
DEFAULT_NAME_SERVICE_NAME |
static java.lang.String |
DEFAULT_NAME_SERVICE_PORT |
Constructor and Description |
---|
Tools() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
describe(org.omg.CORBA.SystemException e) |
static java.lang.String |
describe(org.omg.CORBA.SystemException e,
java.lang.String[] args,
java.util.Properties props) |
static java.lang.String[] |
getOrbArguments(java.util.Properties properties) |
static java.util.Properties |
getOrbProperties(java.util.Properties properties) |
static org.omg.CORBA.ORB |
orbInit(java.lang.String[] args,
java.util.Properties props)
Creates a new ORB for CORBA clients, servers and the name server.
|
static java.lang.String |
toString(java.lang.String[] args,
java.util.Properties props) |
public static final java.lang.String DEFAULT_NAME_SERVICE_NAME
public static final java.lang.String DEFAULT_NAME_SERVICE_PORT
public static final java.lang.String DEFAULT_CORBA_IMPLEMENTATION
public static final java.lang.String DEFAULT_CORBA_PROTOCOL
public static org.omg.CORBA.ORB orbInit(java.lang.String[] args, java.util.Properties props)
args
- Command-line arguments for the application's main method.
May be null.props
- Application-specific properties.
May be null.public static java.lang.String[] getOrbArguments(java.util.Properties properties)
public static java.util.Properties getOrbProperties(java.util.Properties properties)
public static java.lang.String toString(java.lang.String[] args, java.util.Properties props)
public static java.lang.String describe(org.omg.CORBA.SystemException e)
public static java.lang.String describe(org.omg.CORBA.SystemException e, java.lang.String[] args, java.util.Properties props)