|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
MBean interface.
| 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 interface mx4j.adaptor.rmi.RMIAdaptorMBean |
clearJNDIProperties, clearNamingProperties, getHostAddress, getHostName, getJNDIName, getJNDIProperties, getNamingProperties, putJNDIProperty, putNamingProperty, setJNDIName |
| Method Detail |
public void start()
throws java.rmi.RemoteException,
javax.naming.NamingException,
JMException
RMIAdaptorMBean
start in interface RMIAdaptorMBeanjava.rmi.RemoteException
javax.naming.NamingException
JMExceptionRMIAdaptorMBean.stop(),
RMIAdaptorMBean.isRunning()
public void stop()
throws java.rmi.NoSuchObjectException,
javax.naming.NamingException
RMIAdaptorMBean
stop in interface RMIAdaptorMBeanjava.rmi.NoSuchObjectException
javax.naming.NamingExceptionRMIAdaptorMBean.start()public boolean isRunning()
RMIAdaptorMBean
isRunning in interface RMIAdaptorMBeanRMIAdaptorMBean.stop()public java.lang.String getProtocol()
RMIAdaptorMBean
getProtocol in interface RMIAdaptorMBeanpublic int getPort()
setPort(int)public void setPort(int port)
getPort()public java.lang.String getSSLFactory()
public void setSSLFactory(java.lang.String factory)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||