mx4j.tools.naming

Interface CosNamingServiceMBean

Known Implementing Classes:
CosNamingService

public interface CosNamingServiceMBean

Management interface for the CosNamingService MBean.
Version:
$Revision: 1.4 $

Method Summary

int
getPort()
Returns the port on which tnameserv 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 tnameserv listens for incoming connections.
void
start()
Starts this MBean: tnameserv can now accept incoming calls
void
stop()
Stops this MBean: tnameserv cannot accept anymore incoming calls

Method Details

getPort

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

isRunning

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

setPort

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

start

public void start()
            throws Exception
Starts this MBean: tnameserv can now accept incoming calls

stop

public void stop()
Stops this MBean: tnameserv cannot accept anymore incoming calls

Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.