|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.activemq.transport.jgroups.JGroupsTransportChannelFactory
A JGroups implementation of a TransportChannelFactory
Constructor Summary | |
JGroupsTransportChannelFactory()
|
|
JGroupsTransportChannelFactory(org.jgroups.ChannelFactory channelFactory,
java.lang.Object channelConfiguration,
java.lang.String channelName)
|
Method Summary | |
TransportChannel |
create(WireFormat wireFormat,
java.net.URI remoteLocation)
Create a Channel to a remote Node - e.g. |
TransportChannel |
create(WireFormat wireFormat,
java.net.URI remoteLocation,
java.net.URI localLocation)
Create a Channel to a remote Node - e.g. |
protected org.jgroups.Channel |
createChannel(java.net.URI remoteLocation)
|
java.lang.Object |
getChannelConfiguration()
|
org.jgroups.ChannelFactory |
getChannelFactory()
|
java.lang.String |
getChannelName()
|
boolean |
requiresEmbeddedBroker()
Does this channel require an embedded broker to perform such as VM or multicast based transports |
void |
setChannelConfiguration(java.lang.Object channelConfiguration)
|
void |
setChannelFactory(org.jgroups.ChannelFactory channelFactory)
|
void |
setChannelName(java.lang.String channelName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JGroupsTransportChannelFactory()
public JGroupsTransportChannelFactory(org.jgroups.ChannelFactory channelFactory, java.lang.Object channelConfiguration, java.lang.String channelName)
Method Detail |
public TransportChannel create(WireFormat wireFormat, java.net.URI remoteLocation) throws JMSException
TransportChannelFactory
create
in interface TransportChannelFactory
wireFormat
- remoteLocation
-
JMSException
public TransportChannel create(WireFormat wireFormat, java.net.URI remoteLocation, java.net.URI localLocation) throws JMSException
TransportChannelFactory
create
in interface TransportChannelFactory
wireFormat
- remoteLocation
- localLocation
- -
e.g. local InetAddress and local port
JMSException
public boolean requiresEmbeddedBroker()
TransportChannelFactory
requiresEmbeddedBroker
in interface TransportChannelFactory
public org.jgroups.ChannelFactory getChannelFactory()
public void setChannelFactory(org.jgroups.ChannelFactory channelFactory)
public java.lang.Object getChannelConfiguration()
public void setChannelConfiguration(java.lang.Object channelConfiguration)
public java.lang.String getChannelName()
public void setChannelName(java.lang.String channelName)
protected org.jgroups.Channel createChannel(java.net.URI remoteLocation) throws org.jgroups.ChannelException
org.jgroups.ChannelException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |