|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.yoko.ORBConfigAdapter
public class ORBConfigAdapter
A ConfigAdapter instance for the Apache Yoko CORBA support.
Constructor Summary | |
---|---|
ORBConfigAdapter()
|
Method Summary | |
---|---|
ORB |
createClientORB(CSSBean client)
Create an ORB for a CSSBean client context. |
Object |
createNameService(String host,
int port)
Create a transient name service instance using the specified host name and port. |
ORB |
createNameServiceClientORB(CSSBean client)
Create an ORB for a CSSBean name service client context. |
ORB |
createServerORB(CORBABean server)
Create an ORB for a CORBABean server context. |
void |
destroyNameService(Object ns)
Destroy a name service instance created by a prior call to createNameService(). |
void |
doFail()
Fails the GBean. |
void |
doStart()
Start the config adapter GBean. |
void |
doStop()
Stops the target. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ORBConfigAdapter()
Method Detail |
---|
public void doStart() throws Exception
doStart
in interface GBeanLifecycle
Exception
public void doStop() throws Exception
GBeanLifecycle
doStop
in interface GBeanLifecycle
Exception
- if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
GBeanLifecycle
doFail
in interface GBeanLifecycle
public ORB createServerORB(CORBABean server) throws ConfigException
createServerORB
in interface ConfigAdapter
server
- The CORBABean that owns this ORB's configuration.
ConfigException
public ORB createClientORB(CSSBean client) throws ConfigException
createClientORB
in interface ConfigAdapter
client
- The configured CSSBean used for access.
ConfigException
public ORB createNameServiceClientORB(CSSBean client) throws ConfigException
createNameServiceClientORB
in interface ConfigAdapter
client
- The configured CSSBean used for access.
ConfigException
public Object createNameService(String host, int port) throws ConfigException
createNameService
in interface ConfigAdapter
host
- The String host name.port
- The port number of the listener.
ConfigException
public void destroyNameService(Object ns)
destroyNameService
in interface ConfigAdapter
ns
- The opaque name service object returned from a
prior call to createNameService().
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |