| java.lang.Object org.apache.geronimo.corba.CORBABean
CORBABean | public class CORBABean implements GBeanLifecycle,ORBRef,ORBConfiguration(Code) | | A CORBABean is a main CORBA server configuration. The
CORBABean is the hosting ORB to which additional TSSBeans
attach to export EJBs. The CORBABean may be configured
to use either plain socket listeners or SSL listeners, based
on the bean specification. All TSSBean objects attached
to this Bean instance will share the same listener
endpoint and transport-level security.
version: $Revision: 497125 $ $Date: 2007-01-17 10:51:30 -0800 (Wed, 17 Jan 2007) $ |
CORBABean | public CORBABean()(Code) | | |
CORBABean | public CORBABean(AbstractName abstractName, ConfigAdapter configAdapter, String host, int listenerPort, ClassLoader classLoader, NameService nameService, OpenEjbSystem ejbSystem, SSLConfig ssl)(Code) | | Instantiate a CORBABean instance.
Parameters: abstractName - The server-created abstract name for this bean instance. Parameters: configAdapter - The ORB ConfigAdapter used to interface with theJVM-configured ORB instance. Parameters: host - The hostname we publish ourselves under. Parameters: listenerPort - The initial listener port to use. Parameters: classLoader - The ClassLoader used for ORB context class loading. Parameters: nameService - The initial name service the created ORB will usefor object resolution. Parameters: ssl - The SSL configuration, including the KeystoreManager. |
addPolicyOverrides | public Policy[] addPolicyOverrides(Policy[] policies)(Code) | | Add the policy overrides (if any) to the list
of policies used to create a POA instance.
Parameters: policies - The base set of policies. A new Policy array with the overrides added. Returnsthe same array if no overrides are required. |
doFail | public void doFail()(Code) | | |
doStart | public void doStart() throws Exception(Code) | | Start the ORB associated with this bean instance.
exception: Exception - |
getHandleDelegate | public HandleDelegate getHandleDelegate()(Code) | | |
getHost | public String getHost()(Code) | | Get the configuration host name.
The configuration host name. The default is "localhost". |
getListenAddress | public InetSocketAddress getListenAddress()(Code) | | Retrieve the listener address (host/port combo) used
by the ORB.
An InetSocketAddress item identifying the end pointfor the ORB. |
getNameService | public NameService getNameService()(Code) | | Retrieve the NameService this CORBA server depends upon.
The configured NameService instance. |
getORB | public ORB getORB()(Code) | | Return the ORB instance created for this CORBABean.
The ORB instance backing this bean. |
getPort | public int getPort()(Code) | | Get the configured listener port.
The configeration port value. |
getRootPOA | public POA getRootPOA()(Code) | | Get the root POA() instance associated with the ORB.
The rootPOA instance obtained from the ORB. |
getSslConfig | public SSLConfig getSslConfig()(Code) | | Return the SSLConfig used for this ORB instance.
if one has not been configured, this returns
a default configuration.
The SSLConfig object use to manage transport-levelsecurity. |
getTssConfig | public TSSConfig getTssConfig()(Code) | | Get the optional TSSConfig object specified for this
CORBABean server.
The TSSConfig object (if any). |
getURI | public String getURI()(Code) | | Return the retrieval URI for this bean.
The URI for the bean AbstractName; |
setNameService | public void setNameService(NameService s)(Code) | | Setter attribute for the NameService.
Parameters: s - The new target name service. |
setPolicyOverrides | public void setPolicyOverrides(Policy[] overrides)(Code) | | Set a set of policy overrides to be used with
this ORB instance. These are normally set by
the ORBConfigAdapter instance when the ORB
is created.
Parameters: overrides - The new override list. |
setSslConfing | public void setSslConfing(SSLConfig c)(Code) | | Attribute setter for the SSL configuration.
Parameters: c - The new SSLConfig object used for secure communications. |
setTssConfig | public void setTssConfig(TSSConfig config)(Code) | | Set a TSSConfig value for this CORBA instance.
Parameters: config - The required TSSConfig information. |
|
|