|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.carol.jndi.ns.JRMPRegistry
Field Summary | |
int |
port
port number (1099 for default) |
java.rmi.registry.Registry |
registry
registry |
Constructor Summary | |
JRMPRegistry()
|
Method Summary | |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int port
public java.rmi.registry.Registry registry
Constructor Detail |
public JRMPRegistry()
Method Detail |
public void start() throws NameServiceException
start
in interface NameService
NameServiceException
- if a problem occurepublic void stop() throws NameServiceException
stop
in interface NameService
NameServiceException
- if a problem occurepublic boolean isStarted()
isStarted
in interface NameService
public void setPort(int p)
setPort
in interface NameService
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |