org.apache.activemq.transport.discovery
Class DiscoveryTransportFactory

java.lang.Object
  extended by org.apache.activemq.transport.TransportFactory
      extended by org.apache.activemq.transport.failover.FailoverTransportFactory
          extended by org.apache.activemq.transport.discovery.DiscoveryTransportFactory

public class DiscoveryTransportFactory
extends FailoverTransportFactory


Constructor Summary
DiscoveryTransportFactory()
           
 
Method Summary
static DiscoveryTransport createTransport(CompositeTransport compositeTransport, URISupport.CompositeData compositeData, java.util.Map<java.lang.String,java.lang.String> parameters)
          Creates a transport that reports discovered brokers to a specific composite transport.
 Transport createTransport(URISupport.CompositeData compositeData)
           
 TransportServer doBind(java.net.URI location)
           
 
Methods inherited from class org.apache.activemq.transport.failover.FailoverTransportFactory
createTransport, doCompositeConnect, doConnect
 
Methods inherited from class org.apache.activemq.transport.TransportFactory
bind, bind, bind, compositeConfigure, compositeConnect, compositeConnect, configure, connect, connect, createTransport, createWireFormat, createWireFormatFactory, doCompositeConnect, doConnect, getDefaultWireFormatType, getOption, registerTransportFactory, serverConfigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DiscoveryTransportFactory

public DiscoveryTransportFactory()
Method Detail

createTransport

public Transport createTransport(URISupport.CompositeData compositeData)
                          throws java.io.IOException
Overrides:
createTransport in class FailoverTransportFactory
Returns:
Throws:
java.io.IOException

createTransport

public static DiscoveryTransport createTransport(CompositeTransport compositeTransport,
                                                 URISupport.CompositeData compositeData,
                                                 java.util.Map<java.lang.String,java.lang.String> parameters)
                                          throws java.io.IOException
Creates a transport that reports discovered brokers to a specific composite transport.

Parameters:
compositeTransport - transport to report discovered brokers to
compositeData - used to apply parameters to this transport
Returns:
a transport that reports discovered brokers to a specific composite transport.
Throws:
java.io.IOException

doBind

public TransportServer doBind(java.net.URI location)
                       throws java.io.IOException
Overrides:
doBind in class FailoverTransportFactory
Throws:
java.io.IOException


Copyright © 2005-2011 FuseSource, Corp.. All Rights Reserved.