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 BroadcastEndpoint
createBroadcastEndpoint()
org.jgroups.JChannel
getChannel()
java.lang.String
getChannelName()
java.lang.String
toString()
-
-
-
Method Detail
-
getChannel
public org.jgroups.JChannel getChannel()
-
getChannelName
public java.lang.String getChannelName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
createBroadcastEndpoint
public BroadcastEndpoint createBroadcastEndpoint() throws java.lang.Exception
- Specified by:
createBroadcastEndpoint
in interfaceBroadcastEndpointFactory
- Throws:
java.lang.Exception
-
-