public class DummyRegistry extends AbsRegistry implements NameService
DummyRegistry
is a fake registry serviceConstructor and Description |
---|
DummyRegistry() |
Modifier and Type | Method and Description |
---|---|
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, isStarted, resetStarted, setConfigProperties, setHost, setPort, setStarted
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHost, getPort, isStarted, 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 occure