com.iona.fuse.mb.discovery.http
Class HTTPDiscoveryAgent

java.lang.Object
  extended by com.iona.fuse.mb.discovery.http.HTTPDiscoveryAgent
All Implemented Interfaces:
Service, DiscoveryAgent

public class HTTPDiscoveryAgent
extends java.lang.Object
implements DiscoveryAgent


Constructor Summary
HTTPDiscoveryAgent()
           
 
Method Summary
 java.lang.String getGroup()
           
 java.lang.String getRegistryURL()
           
 long getUpdateInterval()
           
 boolean isStartEmbeddRegistry()
           
 void registerService(java.lang.String service)
           
 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()
           
 
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 java.lang.String getGroup()

registerService

public void registerService(java.lang.String service)
                     throws java.io.IOException
Specified by:
registerService in interface DiscoveryAgent
Throws:
java.io.IOException

serviceFailed

public void serviceFailed(DiscoveryEvent devent)
                   throws java.io.IOException
Specified by:
serviceFailed in interface DiscoveryAgent
Throws:
java.io.IOException

setBrokerName

public void setBrokerName(java.lang.String brokerName)

setDiscoveryListener

public void setDiscoveryListener(DiscoveryListener discoveryListener)
Specified by:
setDiscoveryListener in interface DiscoveryAgent

setGroup

public void setGroup(java.lang.String group)

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface Service
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface Service
Throws:
java.lang.Exception

getRegistryURL

public java.lang.String getRegistryURL()

setRegistryURL

public void setRegistryURL(java.lang.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 FuseSource, Corp.. All Rights Reserved.