public class JGroupsXmlConfigurationChannelFactory extends Object implements JChannelFactory
JChannelFactory
that uses configuration from an xml file.Constructor and Description |
---|
JGroupsXmlConfigurationChannelFactory(String configurationFile)
Creates a
JChannelFactory that uses configuration from a given xml file. |
Modifier and Type | Method and Description |
---|---|
org.jgroups.JChannel |
createChannel()
Creates a JChannel instance, which is fully configured, but not connected.
|
public JGroupsXmlConfigurationChannelFactory(String configurationFile)
JChannelFactory
that uses configuration from a given xml file.configurationFile
- the configuration xml file namepublic org.jgroups.JChannel createChannel() throws Exception
JChannelFactory
createChannel
in interface JChannelFactory
Exception
- when an error occurs creating the channelCopyright © 2010–2018. All rights reserved.