org.apache.activemq.transport.discovery.http
Class HTTPDiscoveryAgent

java.lang.Object
  extended by org.apache.activemq.transport.discovery.http.HTTPDiscoveryAgent
All Implemented Interfaces:
org.apache.activemq.Service, org.apache.activemq.transport.discovery.DiscoveryAgent

public class HTTPDiscoveryAgent
extends Object
implements org.apache.activemq.transport.discovery.DiscoveryAgent


Constructor Summary
HTTPDiscoveryAgent()
           
 
Method Summary
 String getGroup()
           
 String getRegistryURL()
           
 long getUpdateInterval()
           
 boolean isStartEmbeddRegistry()
           
 void registerService(String service)
           
 void serviceFailed(org.apache.activemq.command.DiscoveryEvent devent)
           
 void setBrokerName(String brokerName)
           
 void setDiscoveryListener(org.apache.activemq.transport.discovery.DiscoveryListener discoveryListener)
           
 void setGroup(String group)
           
 void setRegistryURL(String discoveryRegistryURL)
           
 void setStartEmbeddRegistry(boolean startEmbeddRegistry)
           
 void setUpdateInterval(long updateInterval)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTTPDiscoveryAgent

public HTTPDiscoveryAgent()
Method Detail

getGroup

public String getGroup()

registerService

public void registerService(String service)
                     throws IOException
Specified by:
registerService in interface org.apache.activemq.transport.discovery.DiscoveryAgent
Throws:
IOException

serviceFailed

public void serviceFailed(org.apache.activemq.command.DiscoveryEvent devent)
                   throws IOException
Specified by:
serviceFailed in interface org.apache.activemq.transport.discovery.DiscoveryAgent
Throws:
IOException

setBrokerName

public void setBrokerName(String brokerName)

setDiscoveryListener

public void setDiscoveryListener(org.apache.activemq.transport.discovery.DiscoveryListener discoveryListener)
Specified by:
setDiscoveryListener in interface org.apache.activemq.transport.discovery.DiscoveryAgent

setGroup

public void setGroup(String group)

start

public void start()
           throws Exception
Specified by:
start in interface org.apache.activemq.Service
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface org.apache.activemq.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-2012 The Apache Software Foundation. All Rights Reserved.