org.codehaus.activemq.transport.jgroups
Class JGroupsTransportChannelFactory

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

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

A JGroups implementation of a TransportChannelFactory

Version:
$Revision: 1.2 $

Constructor Summary
JGroupsTransportChannelFactory()
           
JGroupsTransportChannelFactory(org.jgroups.ChannelFactory channelFactory, Object channelConfiguration, String channelName)
           
 
Method Summary
 org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat, URI remoteLocation)
           
 org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat, URI remoteLocation, URI localLocation)
           
protected  org.jgroups.Channel createChannel(URI remoteLocation)
           
 Object getChannelConfiguration()
           
 org.jgroups.ChannelFactory getChannelFactory()
           
 String getChannelName()
           
 boolean requiresEmbeddedBroker()
           
 void setChannelConfiguration(Object channelConfiguration)
           
 void setChannelFactory(org.jgroups.ChannelFactory channelFactory)
           
 void setChannelName(String channelName)
           
 
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

JGroupsTransportChannelFactory

public JGroupsTransportChannelFactory()

JGroupsTransportChannelFactory

public JGroupsTransportChannelFactory(org.jgroups.ChannelFactory channelFactory,
                                      Object channelConfiguration,
                                      String channelName)
Method Detail

create

public org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat,
                                                               URI remoteLocation)
                                                        throws JMSException
Throws:
JMSException

create

public org.codehaus.activemq.transport.TransportChannel create(org.codehaus.activemq.io.WireFormat wireFormat,
                                                               URI remoteLocation,
                                                               URI localLocation)
                                                        throws JMSException
Throws:
JMSException

requiresEmbeddedBroker

public boolean requiresEmbeddedBroker()

getChannelFactory

public org.jgroups.ChannelFactory getChannelFactory()

setChannelFactory

public void setChannelFactory(org.jgroups.ChannelFactory channelFactory)

getChannelConfiguration

public Object getChannelConfiguration()

setChannelConfiguration

public void setChannelConfiguration(Object channelConfiguration)

getChannelName

public String getChannelName()

setChannelName

public void setChannelName(String channelName)

createChannel

protected org.jgroups.Channel createChannel(URI remoteLocation)
                                     throws org.jgroups.ChannelException
Throws:
org.jgroups.ChannelException


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