public class DefaultChannelProvider extends Object implements ChannelProvider
ChannelProvider
implementation which creates a default JChannel
instance using the provided configuration.Constructor and Description |
---|
DefaultChannelProvider() |
Modifier and Type | Method and Description |
---|---|
org.jgroups.JChannel |
getChannel(RepositoryConfiguration.Clustering clusteringConfig)
A method that is used to instantiate the
JChannel object with the supplied configuration. |
public org.jgroups.JChannel getChannel(RepositoryConfiguration.Clustering clusteringConfig) throws Exception
ChannelProvider
JChannel
object with the supplied configuration.getChannel
in interface ChannelProvider
clusteringConfig
- the configuration; should not be nullException
- if there is a problem creating the new channel objectCopyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.