|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.rmi.server.RemoteObject
mx4j.tools.adaptor.rmi.RMIAdaptor
mx4j.tools.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.tools.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.tools.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, javax.management.JMException
RMIAdaptorMBean
start
in interface RMIAdaptorMBean
start
in class RMIAdaptor
java.rmi.RemoteException
javax.naming.NamingException
javax.management.JMException
RMIAdaptor.stop()
,
RMIAdaptor.isRunning()
public void stop() throws java.rmi.NoSuchObjectException, javax.naming.NamingException
RMIAdaptorMBean
stop
in interface RMIAdaptorMBean
stop
in class RMIAdaptor
java.rmi.NoSuchObjectException
javax.naming.NamingException
RMIAdaptor.start()
public boolean isRunning()
RMIAdaptorMBean
isRunning
in interface RMIAdaptorMBean
isRunning
in class RMIAdaptor
RMIAdaptor.stop()
public java.lang.String getProtocol()
RMIAdaptorMBean
getProtocol
in interface RMIAdaptorMBean
getProtocol
in class RMIAdaptor
public int getPort()
getPort
in interface JRMPAdaptorMBean
setPort(int)
public void setPort(int port)
setPort
in interface JRMPAdaptorMBean
getPort()
public java.lang.String getSSLFactory()
getSSLFactory
in interface JRMPAdaptorMBean
public 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 |