|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.carol.jndi.ns.JRMPRegistry
Class JRMPRegistry
| Field Summary | |
static int |
port
port number (1099 for default) |
static java.rmi.registry.Registry |
registry
registry |
| Constructor Summary | |
JRMPRegistry()
|
|
| Method Summary | |
int |
getPort()
get port method, get the port for the name service |
static boolean |
isLocal()
isStarted Method, check if a name service is local |
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 static int port
public static java.rmi.registry.Registry registry
| Constructor Detail |
public JRMPRegistry()
| Method Detail |
public void start()
throws NameServiceException
start in interface NameServiceNameServiceException - if a problem occure
public void stop()
throws NameServiceException
stop in interface NameServiceNameServiceException - if a problem occurepublic static boolean isLocal()
public boolean isStarted()
isStarted in interface NameServicepublic void setPort(int p)
setPort in interface NameServicepublic int getPort()
NameService
getPort in interface NameService
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||