mx4j.tools.naming
Interface NamingServiceMBean

All Known Implementing Classes:
NamingService

public interface NamingServiceMBean

MBean interface.

Version:
$Revision: 1.6 $
Author:
Simone Bordet

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.
 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
 

Method Detail

setPort

public void setPort(int port)
Sets the port on which rmiregistry listens for incoming connections.

See Also:
getPort()

getPort

public int getPort()
Returns the port on which rmiregistry listens for incoming connections

See Also:
setPort(int)

isRunning

public boolean isRunning()
Returns whether this MBean has been started and not yet stopped.

See Also:
start()

start

public void start()
           throws java.rmi.RemoteException
Starts this MBean: rmiregistry can now accept incoming calls

Throws:
java.rmi.RemoteException
See Also:
stop(), isRunning()

stop

public void stop()
          throws java.rmi.NoSuchObjectException
Stops this MBean: rmiregistry cannot accept anymore incoming calls

Throws:
java.rmi.NoSuchObjectException
See Also:
start()


Copyright © 2001-2002 MX4J Team. All Rights Reserved.