Class FileJGroupsChannelConfigurator
- java.lang.Object
-
- org.infinispan.remoting.transport.jgroups.AbstractJGroupsChannelConfigurator
-
- org.infinispan.remoting.transport.jgroups.FileJGroupsChannelConfigurator
-
- All Implemented Interfaces:
JGroupsChannelConfigurator
,org.jgroups.conf.ProtocolStackConfigurator
- Direct Known Subclasses:
BuiltinJGroupsChannelConfigurator
public class FileJGroupsChannelConfigurator extends AbstractJGroupsChannelConfigurator
A JGroupsJGroupsChannelConfigurator
which loads configuration from an XML file supplied as anInputStream
- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
Field Summary
-
Fields inherited from class org.infinispan.remoting.transport.jgroups.AbstractJGroupsChannelConfigurator
channelListeners
-
-
Constructor Summary
Constructors Constructor Description FileJGroupsChannelConfigurator(String name, String path, InputStream is, Properties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jgroups.JChannel
createChannel(String name)
String
getName()
String
getPath()
List<org.jgroups.conf.ProtocolConfiguration>
getProtocolStack()
String
getProtocolStackString()
-
Methods inherited from class org.infinispan.remoting.transport.jgroups.AbstractJGroupsChannelConfigurator
addChannelListener, amendChannel, getSocketFactory, setSocketFactory
-
-
-
-
Constructor Detail
-
FileJGroupsChannelConfigurator
public FileJGroupsChannelConfigurator(String name, String path, InputStream is, Properties properties) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getProtocolStackString
public String getProtocolStackString()
-
getProtocolStack
public List<org.jgroups.conf.ProtocolConfiguration> getProtocolStack()
-
getName
public String getName()
-
createChannel
public org.jgroups.JChannel createChannel(String name) throws Exception
- Throws:
Exception
-
getPath
public String getPath()
-
-