org.apache.activemq.transport.discovery.masterslave
Class MasterSlaveDiscoveryAgent

java.lang.Object
  extended by org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent
      extended by org.apache.activemq.transport.discovery.masterslave.MasterSlaveDiscoveryAgent
All Implemented Interfaces:
Service, DiscoveryAgent

public class MasterSlaveDiscoveryAgent
extends SimpleDiscoveryAgent

A static DiscoveryAgent that supports connecting to a Master / Slave tuple of brokers.


Constructor Summary
MasterSlaveDiscoveryAgent()
           
 
Method Summary
protected  void configureServices()
           
 String[] getServices()
           
 void setServices(String services)
           
 void setServices(String[] services)
           
 void setServices(URI[] services)
           
 
Methods inherited from class org.apache.activemq.transport.discovery.simple.SimpleDiscoveryAgent
getBackOffMultiplier, getInitialReconnectDelay, getMaxReconnectAttempts, getMaxReconnectDelay, getMinConnectTime, isUseExponentialBackOff, registerService, serviceFailed, setBackOffMultiplier, setDiscoveryListener, setInitialReconnectDelay, setMaxReconnectAttempts, setMaxReconnectDelay, setMinConnectTime, setUseExponentialBackOff, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterSlaveDiscoveryAgent

public MasterSlaveDiscoveryAgent()
Method Detail

getServices

public String[] getServices()
Overrides:
getServices in class SimpleDiscoveryAgent

setServices

public void setServices(String services)
Overrides:
setServices in class SimpleDiscoveryAgent

setServices

public void setServices(String[] services)
Overrides:
setServices in class SimpleDiscoveryAgent

setServices

public void setServices(URI[] services)
Overrides:
setServices in class SimpleDiscoveryAgent

configureServices

protected void configureServices()


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.