|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.geronimo.corba.CORBABean
public class CORBABean
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.
Constructor Summary | |
---|---|
CORBABean()
|
|
CORBABean(AbstractName abstractName,
ConfigAdapter configAdapter,
String host,
int listenerPort,
ClassLoader classLoader,
NameService nameService,
OpenEjbSystem ejbSystem,
SSLConfig ssl)
Instantiate a CORBABean instance. |
Method Summary | |
---|---|
Policy[] |
addPolicyOverrides(Policy[] policies)
Add the policy overrides (if any) to the list of policies used to create a POA instance. |
void |
doFail()
Fails the GBean. |
void |
doStart()
Start the ORB associated with this bean instance. |
void |
doStop()
Stops the target. |
HandleDelegate |
getHandleDelegate()
|
String |
getHost()
Get the configuration host name. |
InetSocketAddress |
getListenAddress()
Retrieve the listener address (host/port combo) used by the ORB. |
NameService |
getNameService()
Retrieve the NameService this CORBA server depends upon. |
ORB |
getORB()
Return the ORB instance created for this CORBABean. |
int |
getPort()
Get the configured listener port. |
POA |
getRootPOA()
Get the root POA() instance associated with the ORB. |
SSLConfig |
getSslConfig()
Return the SSLConfig used for this ORB instance. |
TSSConfig |
getTssConfig()
Get the optional TSSConfig object specified for this CORBABean server. |
String |
getURI()
Return the retrieval URI for this bean. |
void |
setNameService(NameService s)
Setter attribute for the NameService. |
void |
setPolicyOverrides(Policy[] overrides)
Set a set of policy overrides to be used with this ORB instance. |
void |
setSslConfing(SSLConfig c)
Attribute setter for the SSL configuration. |
void |
setTssConfig(TSSConfig config)
Set a TSSConfig value for this CORBA instance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CORBABean()
public CORBABean(AbstractName abstractName, ConfigAdapter configAdapter, String host, int listenerPort, ClassLoader classLoader, NameService nameService, OpenEjbSystem ejbSystem, SSLConfig ssl)
abstractName
- The server-created abstract name for this bean instance.configAdapter
- The ORB ConfigAdapter used to interface with the
JVM-configured ORB instance.host
- The hostname we publish ourselves under.listenerPort
- The initial listener port to use.classLoader
- The ClassLoader used for ORB context class loading.nameService
- The initial name service the created ORB will use
for object resolution.ssl
- The SSL configuration, including the KeystoreManager.Method Detail |
---|
public NameService getNameService()
public void setNameService(NameService s)
s
- The new target name service.public TSSConfig getTssConfig()
getTssConfig
in interface ORBConfiguration
public void setTssConfig(TSSConfig config)
config
- The required TSSConfig information.public SSLConfig getSslConfig()
getSslConfig
in interface ORBConfiguration
public void setSslConfing(SSLConfig c)
c
- The new SSLConfig object used for secure communications.public ORB getORB()
getORB
in interface ORBRef
public HandleDelegate getHandleDelegate()
public POA getRootPOA()
public InetSocketAddress getListenAddress()
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 String getURI()
public int getPort()
public String getHost()
public void setPolicyOverrides(Policy[] overrides)
overrides
- The new override list.public Policy[] addPolicyOverrides(Policy[] policies)
policies
- The base set of policies.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |