mx4j.tools.naming
Interface NamingServiceMBean
- NamingService
public interface NamingServiceMBean
Management interface for the NamingService MBean.
Version:
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.
|
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
|
getPort
public int getPort()
Returns the port on which rmiregistry listens for incoming connections
setPort(int)
isRunning
public boolean isRunning()
Returns whether this MBean has been started and not yet stopped.
start()
setPort
public void setPort(int port)
Sets the port on which rmiregistry listens for incoming connections.
getPort()
start
public void start()
throws RemoteException
Starts this MBean: rmiregistry can now accept incoming calls
stop()
, isRunning()
stop
public void stop()
throws NoSuchObjectException
Stops this MBean: rmiregistry cannot accept anymore incoming calls
start()
Copyright © 2001-2003 MX4J Team. All Rights Reserved.