|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NamingServiceMBean
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 |
|---|
void setPort(int port)
running.
getPort()int getPort()
setPort(int)boolean isRunning()
start()
void start()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionstop(),
isRunning()
void stop()
throws java.rmi.NoSuchObjectException
java.rmi.NoSuchObjectExceptionstart()
java.lang.String[] list()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionRegistry.list()
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 | |||||||||