ModeShape Distribution 3.0.0.Beta4

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.


Method Summary
 org.jgroups.JChannel getChannel(RepositoryConfiguration.Clustering clusteringConfig)
          A method that is used to instantiate the JChannel object with the supplied configuration.
 

Method Detail

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

ModeShape Distribution 3.0.0.Beta4

Copyright © 2008-2012 JBoss, a division of Red Hat. All Rights Reserved.