mx4j.tools.naming
public class NamingService extends Object implements NamingServiceMBean
Calling NamingService will launch rmiregistry in the same JVM; this way rmiregistry will have in its classpath the same classes the JVM has.
Version: $Revision: 1.11 $
| Constructor Summary | |
|---|---|
| NamingService()
Creates a new instance of NamingService with the default rmiregistry port (1099). | |
| NamingService(int port)
Creates a new instance of NamingService with the specified port. | |
| Method Summary | |
|---|---|
| int | getPort() |
| boolean | isRunning() |
| String[] | list() |
| void | setPort(int port) |
| void | start() |
| void | stop() |
| void | unbind(String name) |