org.codehaus.activemq.transport.jxta
Class JxtaTransportChannelFactory

java.lang.Object
  extended byorg.codehaus.activemq.transport.TransportChannelFactorySupport
      extended byorg.codehaus.activemq.transport.jxta.JxtaTransportChannelFactory
All Implemented Interfaces:
org.codehaus.activemq.transport.TransportChannelFactory

public class JxtaTransportChannelFactory
extends org.codehaus.activemq.transport.TransportChannelFactorySupport

A JXTA implementation of a TransportChannelFactory

Version:
$Revision: 1.2 $

Constructor Summary
JxtaTransportChannelFactory()
           
 
Method Summary
 org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat, URI remoteLocation)
          Create a Channel to a remote Node - e.g.
 org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat, URI remoteLocation, URI localLocation)
          Create a Channel to a remote Node - e.g.
 boolean requiresEmbeddedBroker()
           
 
Methods inherited from class org.codehaus.activemq.transport.TransportChannelFactorySupport
populateProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JxtaTransportChannelFactory

public JxtaTransportChannelFactory()
Method Detail

create

public org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat,
                                                               URI remoteLocation)
                                                        throws JMSException
Create a Channel to a remote Node - e.g. a Broker

Parameters:
wireFormat -
remoteLocation -
Returns:
the TransportChannel bound to the remote node
Throws:
JMSException

create

public org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat,
                                                               URI remoteLocation,
                                                               URI localLocation)
                                                        throws JMSException
Create a Channel to a remote Node - e.g. a Broker

Parameters:
wireFormat -
remoteLocation -
localLocation - - e.g. local InetAddress and local port
Returns:
the TransportChannel bound to the remote node
Throws:
JMSException

requiresEmbeddedBroker

public boolean requiresEmbeddedBroker()


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