com.google.inject.throwingproviders
Class ThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider>

java.lang.Object
  extended by com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder<P>
Enclosing class:
ThrowingProviderBinder

public class ThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider>
extends Object


Constructor Summary
ThrowingProviderBinder.SecondaryBinder(Class<P> interfaceType, Type valueType)
           
 
Method Summary
 ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(Annotation annotation)
           
 ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(Class<? extends Annotation> annotationType)
           
 ScopedBindingBuilder to(Class<? extends P> targetType)
           
 ScopedBindingBuilder to(Key<? extends P> targetKey)
           
 ScopedBindingBuilder to(P target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThrowingProviderBinder.SecondaryBinder

public ThrowingProviderBinder.SecondaryBinder(Class<P> interfaceType,
                                              Type valueType)
Method Detail

annotatedWith

public ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(Class<? extends Annotation> annotationType)

annotatedWith

public ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(Annotation annotation)

to

public ScopedBindingBuilder to(P target)

to

public ScopedBindingBuilder to(Class<? extends P> targetType)

to

public ScopedBindingBuilder to(Key<? extends P> targetKey)