public class JRMPRegistry extends AbsRegistry implements NameService
JRMPRegistry
Constructor and Description |
---|
JRMPRegistry()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static java.rmi.registry.Registry |
getRegistry() |
static boolean |
isLocal()
isStarted Method, check if a name service is local
|
boolean |
isStarted()
isStarted Method, check if a name service is started
|
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
|
getConfigProperties, getHost, getPort, resetStarted, setConfigProperties, setHost, setPort, setStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHost, getPort, setConfigProperties, setHost, setPort
public void start() throws NameServiceException
start
in interface NameService
start
in class AbsRegistry
NameServiceException
- if a problem occurepublic void stop() throws NameServiceException
stop
in interface NameService
stop
in class AbsRegistry
NameServiceException
- if a problem occurepublic static boolean isLocal()
public boolean isStarted()
isStarted
in interface NameService
isStarted
in class AbsRegistry
public static java.rmi.registry.Registry getRegistry()