org.activemq.transport
Class DiscoveryTransportChannelFactorySupport

java.lang.Object
  extended by org.activemq.transport.TransportChannelFactorySupport
      extended by org.activemq.transport.composite.CompositeTransportChannelFactory
          extended by org.activemq.transport.DiscoveryTransportChannelFactorySupport
All Implemented Interfaces:
TransportChannelFactory
Direct Known Subclasses:
MulticastDiscoveryTransportChannelFactory

public abstract class DiscoveryTransportChannelFactorySupport
extends CompositeTransportChannelFactory

Version:
$Revision: 1.1.1.1 $

Constructor Summary
DiscoveryTransportChannelFactorySupport()
           
 
Method Summary
 TransportChannel create(WireFormat wireFormat, URI remoteLocation)
          Create a Channel to a remote Node - e.g.
protected abstract  DiscoveryAgent createDiscoveryAgent(URI remoteLocation)
           
 DiscoveryAgent getDiscoveryAgent()
           
protected  DiscoveryAgent populateAgentProperties(DiscoveryAgent agent, URI uri)
           
 void setDiscoveryAgent(DiscoveryAgent discoveryAgent)
           
 
Methods inherited from class org.activemq.transport.composite.CompositeTransportChannelFactory
create, parseURIs, randomizeURIs, requiresEmbeddedBroker, stripLeadingSlashes
 
Methods inherited from class org.activemq.transport.TransportChannelFactorySupport
populateProperties, populateProperties, populateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryTransportChannelFactorySupport

public DiscoveryTransportChannelFactorySupport()
Method Detail

create

public TransportChannel create(WireFormat wireFormat,
                               URI remoteLocation)
                        throws JMSException
Description copied from interface: TransportChannelFactory
Create a Channel to a remote Node - e.g. a Broker

Specified by:
create in interface TransportChannelFactory
Overrides:
create in class CompositeTransportChannelFactory
Returns:
the TransportChannel bound to the remote node
Throws:
JMSException

getDiscoveryAgent

public DiscoveryAgent getDiscoveryAgent()

setDiscoveryAgent

public void setDiscoveryAgent(DiscoveryAgent discoveryAgent)

createDiscoveryAgent

protected abstract DiscoveryAgent createDiscoveryAgent(URI remoteLocation)
                                                throws JMSException,
                                                       URISyntaxException
Throws:
JMSException
URISyntaxException

populateAgentProperties

protected DiscoveryAgent populateAgentProperties(DiscoveryAgent agent,
                                                 URI uri)
                                          throws JMSException
Throws:
JMSException


Copyright © 2004-2009 Protique, Ltd.. All Rights Reserved.