org.modeshape.jcr.clustering
Interface ChannelProvider
- All Known Implementing Classes:
- DefaultChannelProvider
public interface ChannelProvider
Interface used by ModeShape clustering to provide a JChannel instance based on an existing
configuration
Implementing classes are expected to have a public, no-arg constructor.
getChannel
org.jgroups.JChannel getChannel(RepositoryConfiguration.Clustering clusteringConfig)
throws Exception
- A method that is used to instantiate the
JChannel
object with the supplied configuration.
- Parameters:
clusteringConfig
- the configuration; should not be null
- Returns:
- the JChannel instance; never null
- Throws:
Exception
- if there is a problem creating the new channel object
Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.