public class HTTPDiscoveryAgent extends java.lang.Object implements DiscoveryAgent, Suspendable
| Constructor and Description |
|---|
HTTPDiscoveryAgent() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getGroup() |
java.lang.String |
getRegistryURL() |
long |
getUpdateInterval() |
boolean |
isStartEmbeddRegistry() |
void |
registerService(java.lang.String service) |
void |
resume() |
void |
serviceFailed(DiscoveryEvent devent) |
void |
setBrokerName(java.lang.String brokerName) |
void |
setDiscoveryListener(DiscoveryListener discoveryListener) |
void |
setGroup(java.lang.String group) |
void |
setRegistryURL(java.lang.String discoveryRegistryURL) |
void |
setStartEmbeddRegistry(boolean startEmbeddRegistry) |
void |
setUpdateInterval(long updateInterval) |
void |
start() |
void |
stop() |
void |
suspend() |
public java.lang.String getGroup()
public void registerService(java.lang.String service)
throws java.io.IOException
registerService in interface DiscoveryAgentjava.io.IOExceptionpublic void serviceFailed(DiscoveryEvent devent) throws java.io.IOException
serviceFailed in interface DiscoveryAgentjava.io.IOExceptionpublic void setBrokerName(java.lang.String brokerName)
public void setDiscoveryListener(DiscoveryListener discoveryListener)
setDiscoveryListener in interface DiscoveryAgentpublic void setGroup(java.lang.String group)
public void start()
throws java.lang.Exception
public void stop()
throws java.lang.Exception
public java.lang.String getRegistryURL()
public void setRegistryURL(java.lang.String discoveryRegistryURL)
public long getUpdateInterval()
public void setUpdateInterval(long updateInterval)
public boolean isStartEmbeddRegistry()
public void setStartEmbeddRegistry(boolean startEmbeddRegistry)
public void suspend()
throws java.lang.Exception
suspend in interface Suspendablejava.lang.Exceptionpublic void resume()
throws java.lang.Exception
resume in interface Suspendablejava.lang.ExceptionCopyright © 2005-2016 Red Hat, Inc.. All Rights Reserved.