|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.rmi.server.RemoteObject
|
+--mx4j.adaptor.rmi.RMIAdaptor
|
+--mx4j.adaptor.rmi.jrmp.JRMPAdaptor
Adaptor for the JRMP protocol, the native protocol of Java RMI.
| Field Summary |
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
JRMPAdaptor()
Creates a new JRMP adaptor |
|
| Method Summary | |
int |
getPort()
Returns the RMI port on which the adaptor's remote object is exported to |
java.lang.String |
getProtocol()
Returns the protocol of this adaptor |
java.lang.String |
getSSLFactory()
Returns the ObjectName of the SSL ServerSocket factory MBean used by this adaptor for secure invocations. |
boolean |
isRunning()
Returns whether this adaptor has been started and not been stopped. |
void |
setPort(int port)
Sets the RMI port on which the adaptor's remote object will be exported to. |
void |
setSSLFactory(java.lang.String factory)
Sets the ObjectName of the SSL ServerSocket factory MBean that will be used by this adaptor for secure invocations. |
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, clearJNDIProperties, clearNamingProperties, getHostAddress, getHostName, getJNDIName, getJNDIProperties, getMBeanServer, getNamingProperties, getObjectName, installInterceptors, invoke, postDeregister, postRegister, preDeregister, preRegister, putJNDIProperty, putNamingProperty, setJNDIName, setMBeanServer, unbind, uninstallInterceptors |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface mx4j.adaptor.rmi.RMIAdaptorMBean |
clearJNDIProperties, clearNamingProperties, getHostAddress, getHostName, getJNDIName, getJNDIProperties, getNamingProperties, putJNDIProperty, putNamingProperty, setJNDIName |
| Constructor Detail |
public JRMPAdaptor()
| Method Detail |
public void start()
throws java.rmi.RemoteException,
javax.naming.NamingException,
JMException
RMIAdaptorMBean
start in interface JRMPAdaptorMBeanstart in class RMIAdaptorjava.rmi.RemoteException
javax.naming.NamingException
JMExceptionRMIAdaptorMBean.stop(),
RMIAdaptorMBean.isRunning()
public void stop()
throws java.rmi.NoSuchObjectException,
javax.naming.NamingException
RMIAdaptorMBean
stop in interface JRMPAdaptorMBeanstop in class RMIAdaptorjava.rmi.NoSuchObjectException
javax.naming.NamingExceptionRMIAdaptorMBean.start()public boolean isRunning()
RMIAdaptorMBean
isRunning in interface JRMPAdaptorMBeanisRunning in class RMIAdaptorRMIAdaptorMBean.stop()public java.lang.String getProtocol()
RMIAdaptorMBean
getProtocol in interface JRMPAdaptorMBeangetProtocol in class RMIAdaptorpublic int getPort()
getPort in interface JRMPAdaptorMBeansetPort(int)public void setPort(int port)
setPort in interface JRMPAdaptorMBeangetPort()public java.lang.String getSSLFactory()
getSSLFactory in interface JRMPAdaptorMBeanpublic void setSSLFactory(java.lang.String factory)
setSSLFactory in interface JRMPAdaptorMBean
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||