org.objectweb.carol.jndi.ns
Class LmiRegistry
java.lang.Object
org.objectweb.carol.jndi.ns.LmiRegistry
- NameService
public class LmiRegistry
extends java.lang.Object
Class LMIRegistry
is a fake registry service
Version:
- Guillaume Riviere (Guillaume.Riviere@inrialpes.fr)
int | port - port number (0 for default)
|
int | getPort() - get port method, get the port for the name service
|
boolean | isStarted() - isStarted Method, check if a name service is started
|
void | setPort(int p) - set port method, set the port for the name service
|
void | start() - start Method, Start a new NameService or do nothing if the name service
is all ready start
|
void | stop() - stop Method, Stop a NameService or do nothing if the name service is all
ready stop
|
port
public int port
port number (0 for default)
getPort
public int getPort()
get port method, get the port for the name service
- getPort in interface NameService
- int port number
isStarted
public boolean isStarted()
isStarted Method, check if a name service is started
- isStarted in interface NameService
- alway return true
setPort
public void setPort(int p)
set port method, set the port for the name service
- setPort in interface NameService