| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 GBeanLifecycleException
public void doStop()
            throws Exception
GBeanLifecycle
doStop in interface GBeanLifecycleException - 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 ConfigAdapterserver - The CORBABean that owns this ORB's configuration.
ConfigException
public ORB createClientORB(CSSBean client)
                    throws ConfigException
createClientORB in interface ConfigAdapterclient - The configured CSSBean used for access.
ConfigException
public ORB createNameServiceClientORB(CSSBean client)
                               throws ConfigException
createNameServiceClientORB in interface ConfigAdapterclient - The configured CSSBean used for access.
ConfigException
public Object createNameService(String host,
                                int port)
                         throws ConfigException
createNameService in interface ConfigAdapterhost - The String host name.port - The port number of the listener.
ConfigExceptionpublic void destroyNameService(Object ns)
destroyNameService in interface ConfigAdapterns - 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 | |||||||||