org.apache.s4.comm
Class DefaultCommModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by org.apache.s4.comm.DefaultCommModule
All Implemented Interfaces:
com.google.inject.Module

public class DefaultCommModule
extends com.google.inject.AbstractModule

Default configuration module for the communication layer. Parameterizable through a configuration file.


Constructor Summary
DefaultCommModule(java.io.InputStream commConfigInputStream, java.lang.String clusterName)
           
 
Method Summary
protected  void configure()
           
 
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultCommModule

public DefaultCommModule(java.io.InputStream commConfigInputStream,
                         java.lang.String clusterName)
Parameters:
commConfigInputStream - input stream from a configuration file
clusterName - the name of the cluster to which the current node belongs. If specified in the configuration file, this parameter will be ignored.
Method Detail

configure

protected void configure()
Specified by:
configure in class com.google.inject.AbstractModule