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