codec.orb
Class OrbGeneric
java.lang.Object
|
+--codec.orb.OrbGeneric
- public final class OrbGeneric
- extends java.lang.Object
Class implementing generic ORB operations.
Field Summary |
private org.omg.CORBA.BOA |
boa
|
static int |
INIT_ALL_ENTITIES
|
static int |
INIT_ORB_ONLY
|
private org.omg.CosNaming.NamingContext |
nc
|
private org.omg.CORBA.ORB |
orb
|
private org.omg.CORBA.Repository |
rep
|
Constructor Summary |
OrbGeneric(java.lang.String[] args,
int options)
Initialize ORB, BOA and Naming Service. |
Method Summary |
org.omg.CORBA.BOA |
getBOA()
Obtain pointer to BOA. |
org.omg.CosNaming.NamingContext |
getNamingContext()
Obtain pointer to Naming Context. |
org.omg.CORBA.ORB |
getORB()
Obtain pointer to ORB. |
org.omg.CORBA.Repository |
getRepository()
Obtain pointer to Interface Repository. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
orb
private org.omg.CORBA.ORB orb
boa
private org.omg.CORBA.BOA boa
rep
private org.omg.CORBA.Repository rep
nc
private org.omg.CosNaming.NamingContext nc
INIT_ORB_ONLY
public static final int INIT_ORB_ONLY
INIT_ALL_ENTITIES
public static final int INIT_ALL_ENTITIES
OrbGeneric
public OrbGeneric(java.lang.String[] args,
int options)
- Initialize ORB, BOA and Naming Service. Shall be called only once.
getORB
public org.omg.CORBA.ORB getORB()
- Obtain pointer to ORB.
getBOA
public org.omg.CORBA.BOA getBOA()
- Obtain pointer to BOA.
getNamingContext
public org.omg.CosNaming.NamingContext getNamingContext()
- Obtain pointer to Naming Context.
getRepository
public org.omg.CORBA.Repository getRepository()
- Obtain pointer to Interface Repository.