|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.carol.jndi.ns.CmiRegistry
Class CmiRegistry
Constructor Summary | |
CmiRegistry()
|
Method Summary | |
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 already stop |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmiRegistry()
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
public int getPort()
NameService
getPort
in interface NameService
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |