mx4j.tools.naming
public class CosNamingService extends Object implements CosNamingServiceMBean
Calling CosNamingService will start tnameserv in a separate process via
java.lang.Runtime#exec(String) Runtime.exec(String command)
.
Version: $Revision: 1.12 $
Constructor Summary | |
---|---|
CosNamingService()
Creates a new instance of CosNamingService with the default port (900). | |
CosNamingService(int port)
Creates a new instance of CosNamingService with the specified port. |
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
|
See Also: CosNamingService
See Also: CosNamingService
See Also: CosNamingService
See Also: CosNamingService CosNamingService
See Also: CosNamingService