mx4j.adaptor.rmi.iiop
Class IIOPAdaptor
java.lang.Object
|
+--mx4j.adaptor.rmi.RMIAdaptor
|
+--mx4j.adaptor.rmi.iiop.IIOPAdaptor
- All Implemented Interfaces:
- IIOPAdaptorMBean, MBeanRegistration, RMIAdaptorMBean
- public class IIOPAdaptor
- extends RMIAdaptor
- implements IIOPAdaptorMBean
Adaptor for the IIOP protocol, the CORBA default protocol
- Version:
- $Revision: 1.3 $
- Author:
- Simone Bordet
Method Summary |
protected ObjectName |
getDefaultObjectName()
|
boolean |
isRunning()
Returns whether this adaptor has been started and not been stopped. |
void |
start()
Starts this adaptor, so that it can accept incoming calls |
void |
stop()
Stops this adaptor, so that it does not accept incoming calls anymore |
Methods inherited from class mx4j.adaptor.rmi.RMIAdaptor |
addInterceptor, bind, clearNamingProperties, getHostName, getInterceptors, getJNDIName, getMBeanServer, getNamingProperties, getObjectName, postDeregister, postRegister, preDeregister, preRegister, putNamingProperty, setJNDIName, setMBeanServer, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IIOPAdaptor
public IIOPAdaptor()
start
public void start()
throws java.rmi.RemoteException,
javax.naming.NamingException
- Description copied from interface:
RMIAdaptorMBean
- Starts this adaptor, so that it can accept incoming calls
- Specified by:
start
in interface RMIAdaptorMBean
- Following copied from interface:
mx4j.adaptor.rmi.RMIAdaptorMBean
- See Also:
RMIAdaptorMBean.stop()
,
RMIAdaptorMBean.isRunning()
stop
public void stop()
throws java.rmi.NoSuchObjectException,
javax.naming.NamingException
- Description copied from interface:
RMIAdaptorMBean
- Stops this adaptor, so that it does not accept incoming calls anymore
- Specified by:
stop
in interface RMIAdaptorMBean
- Following copied from interface:
mx4j.adaptor.rmi.RMIAdaptorMBean
- See Also:
RMIAdaptorMBean.start()
isRunning
public boolean isRunning()
- Description copied from interface:
RMIAdaptorMBean
- Returns whether this adaptor has been started and not been stopped.
- Specified by:
isRunning
in interface RMIAdaptorMBean
- Following copied from interface:
mx4j.adaptor.rmi.RMIAdaptorMBean
- See Also:
RMIAdaptorMBean.stop()
getDefaultObjectName
protected ObjectName getDefaultObjectName()
throws MalformedObjectNameException
- Overrides:
getDefaultObjectName
in class RMIAdaptor