Class ChannelBroadcastEndpointFactory
- java.lang.Object
-
- org.apache.activemq.artemis.api.core.ChannelBroadcastEndpointFactory
-
- All Implemented Interfaces:
java.io.Serializable,BroadcastEndpointFactory
public class ChannelBroadcastEndpointFactory extends java.lang.Object implements BroadcastEndpointFactory
An implementation of BroadcastEndpointFactory that uses an externally managed JChannel for JGroups clustering. Note - the underlying JChannel is not closed in this implementation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChannelBroadcastEndpointFactory(org.jgroups.JChannel channel, java.lang.String channelName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BroadcastEndpointcreateBroadcastEndpoint()org.jgroups.JChannelgetChannel()java.lang.StringgetChannelName()java.lang.StringtoString()
-
-
-
Method Detail
-
getChannel
public org.jgroups.JChannel getChannel()
-
getChannelName
public java.lang.String getChannelName()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
createBroadcastEndpoint
public BroadcastEndpoint createBroadcastEndpoint() throws java.lang.Exception
- Specified by:
createBroadcastEndpointin interfaceBroadcastEndpointFactory- Throws:
java.lang.Exception
-
-