org.openejb.corba.core
Class Initializer
java.lang.Object
|
+--org.openejb.corba.core.Initializer
- public class Initializer
- extends java.lang.Object
This class is used to prepare all CORBA adapters. Each EJB Container is associated to a CORBA Adapter.
Constructor Summary |
Initializer(org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA rootPOA,
java.lang.String domainPath,
boolean bindNaming)
Constructor. |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Initializer
public Initializer(org.omg.CORBA.ORB orb,
org.omg.PortableServer.POA rootPOA,
java.lang.String domainPath,
boolean bindNaming)
- Constructor.
Requires an ORB and a POA reference.
getContainerAdapter
public ContainerAdapter getContainerAdapter(RpcContainer rpc)
- This operation returns the ContainerAdapter that manages the RPC container passed as argument.
getContainerAdapter
public ContainerAdapter getContainerAdapter(byte[] corba_id)
- This operation returns the ContainerAdapter that manages the CORBA object whom the object id is
passed as parameter
run
public void run(java.util.Properties props)
throws OpenEJBException
- This operation starts the OpenEJB container system. Then it creates a container adapter for each
container.