com.iona.fuse.mb.discovery.http
Class HTTPDiscoveryAgent
java.lang.Object
com.iona.fuse.mb.discovery.http.HTTPDiscoveryAgent
- All Implemented Interfaces:
- Service, DiscoveryAgent
public class HTTPDiscoveryAgent
- extends Object
- implements DiscoveryAgent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTTPDiscoveryAgent
public HTTPDiscoveryAgent()
getGroup
public String getGroup()
registerService
public void registerService(String service)
throws IOException
- Specified by:
registerService in interface DiscoveryAgent
- Throws:
IOException
serviceFailed
public void serviceFailed(DiscoveryEvent devent)
throws IOException
- Specified by:
serviceFailed in interface DiscoveryAgent
- Throws:
IOException
setBrokerName
public void setBrokerName(String brokerName)
setDiscoveryListener
public void setDiscoveryListener(DiscoveryListener discoveryListener)
- Specified by:
setDiscoveryListener in interface DiscoveryAgent
setGroup
public void setGroup(String group)
start
public void start()
throws Exception
- Specified by:
start in interface Service
- Throws:
Exception
stop
public void stop()
throws Exception
- Specified by:
stop in interface Service
- Throws:
Exception
getRegistryURL
public String getRegistryURL()
setRegistryURL
public void setRegistryURL(String discoveryRegistryURL)
getUpdateInterval
public long getUpdateInterval()
setUpdateInterval
public void setUpdateInterval(long updateInterval)
isStartEmbeddRegistry
public boolean isStartEmbeddRegistry()
setStartEmbeddRegistry
public void setStartEmbeddRegistry(boolean startEmbeddRegistry)
Copyright © 2005-2011 FuseSource. All Rights Reserved.