public final class DefaultORB
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.omg.CORBA.ORB |
getORB()
Used to locate the default orb for use by the stubs, tie classes, and
for resolving the name service in the JNDI context.
|
static void |
setInitParams(java.lang.String[] args,
java.util.Properties props)
Set the properties used to initialize the orb.
|
static void |
setORB(org.omg.CORBA.ORB orb)
Set the default orb.
|
public static org.omg.CORBA.ORB getORB()
public static void setORB(org.omg.CORBA.ORB orb)
orb - An external orb for the default orb instance.java.lang.IllegalStateException - if the orb has already been initialized.public static void setInitParams(java.lang.String[] args,
java.util.Properties props)
args - An array with command line arguments.props - ORB properties.java.lang.IllegalStateException - if the orb has already been initialized.