org.codehaus.activemq.transport
Class DiscoveryNetworkConnector
java.lang.Object
org.codehaus.activemq.transport.NetworkConnector
org.codehaus.activemq.transport.DiscoveryNetworkConnector
- All Implemented Interfaces:
- DiscoveryListener, Service
- public class DiscoveryNetworkConnector
- extends NetworkConnector
- implements DiscoveryListener
A NetworkConnector
which uses discovery to find remote brokers
to connect to
- Version:
- $Revision: 1.7 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscoveryNetworkConnector
public DiscoveryNetworkConnector(BrokerContainer brokerContainer)
start
public void start()
throws JMSException
- Description copied from interface:
Service
- Called to start the service
- Specified by:
start
in interface Service
- Overrides:
start
in class NetworkConnector
- Throws:
JMSException
addService
public void addService(DiscoveryEvent event)
- Specified by:
addService
in interface DiscoveryListener
removeService
public void removeService(DiscoveryEvent event)
- Specified by:
removeService
in interface DiscoveryListener
getLocalDetails
public Map getLocalDetails()
setLocalDetails
public void setLocalDetails(Map localDetails)
getRemotePassword
public String getRemotePassword()
setRemotePassword
public void setRemotePassword(String remotePassword)
getRemoteUserName
public String getRemoteUserName()
setRemoteUserName
public void setRemoteUserName(String remoteUserName)
addChannel
protected void addChannel(String url,
Map details)
removeChannel
protected void removeChannel(String url,
Map details)
createNetworkChannel
protected NetworkChannel createNetworkChannel(String url,
Map details)
getLocalBrokerName
protected String getLocalBrokerName()
Copyright © 2004 Protique, Ltd.. All Rights Reserved.