|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Management interface for the NamingService MBean.
| Method Summary | |
int |
getPort()
Returns the port on which rmiregistry listens for incoming connections |
boolean |
isRunning()
Returns whether this MBean has been started and not yet stopped. |
java.lang.String[] |
list()
Returns an array of the names bound in the rmiregistry |
void |
setPort(int port)
Sets the port on which rmiregistry listens for incoming connections. |
void |
start()
Starts this MBean: rmiregistry can now accept incoming calls |
void |
stop()
Stops this MBean: rmiregistry cannot accept anymore incoming calls |
void |
unbind(java.lang.String name)
Removes the binding for the specified name in the rmiregistry |
| Method Detail |
public void setPort(int port)
running.
getPort()public int getPort()
setPort(int)public boolean isRunning()
start()
public void start()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionstop(),
isRunning()
public void stop()
throws java.rmi.NoSuchObjectException
java.rmi.NoSuchObjectExceptionstart()
public java.lang.String[] list()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionRegistry.list()
public void unbind(java.lang.String name)
throws java.rmi.RemoteException,
java.rmi.NotBoundException
name in the rmiregistry
java.rmi.RemoteException
java.rmi.NotBoundExceptionRegistry.unbind(String)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||