com.twitter.common.inject
Class ProviderMethodModule

java.lang.Object
  extended by com.google.inject.AbstractModule
      extended by com.twitter.common.inject.ProviderMethodModule
All Implemented Interfaces:
Module

public abstract class ProviderMethodModule
extends AbstractModule

A convenience base class for modules that do all their binding via provider methods.


Constructor Summary
ProviderMethodModule()
           
 
Method Summary
protected  void configure()
          Does no binding; subclasses should implement provider methods.
 
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

ProviderMethodModule

public ProviderMethodModule()
Method Detail

configure

protected final void configure()
Does no binding; subclasses should implement provider methods.

Specified by:
configure in class AbstractModule