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 Object implements JGroupsChannelConfigurator
A JGroupsJGroupsChannelConfiguratorwhich loads configuration from an XML file supplied as anInputStream- Since:
- 10.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
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.JChannelcreateChannel()StringgetName()StringgetPath()List<org.jgroups.conf.ProtocolConfiguration>getProtocolStack()StringgetProtocolStackString()
-
-
-
Constructor Detail
-
FileJGroupsChannelConfigurator
public FileJGroupsChannelConfigurator(String name, String path, InputStream is, Properties properties) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getProtocolStackString
public String getProtocolStackString()
- Specified by:
getProtocolStackStringin interfaceorg.jgroups.conf.ProtocolStackConfigurator
-
getProtocolStack
public List<org.jgroups.conf.ProtocolConfiguration> getProtocolStack()
- Specified by:
getProtocolStackin interfaceorg.jgroups.conf.ProtocolStackConfigurator
-
getName
public String getName()
- Specified by:
getNamein interfaceJGroupsChannelConfigurator
-
createChannel
public org.jgroups.JChannel createChannel() throws Exception- Specified by:
createChannelin interfaceJGroupsChannelConfigurator- Throws:
Exception
-
getPath
public String getPath()
-
-