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

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

public class ThrowingProviderBinder.SecondaryBinder<P extends CheckedProvider>
extends java.lang.Object


Constructor Summary
ThrowingProviderBinder.SecondaryBinder(java.lang.Class<P> interfaceType, java.lang.reflect.Type valueType)
           
 
Method Summary
 ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(java.lang.annotation.Annotation annotation)
           
 ThrowingProviderBinder.SecondaryBinder<P> annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
           
 ScopedBindingBuilder to(java.lang.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(java.lang.Class<P> interfaceType,
                                              java.lang.reflect.Type valueType)
Method Detail

annotatedWith

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

annotatedWith

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

to

public ScopedBindingBuilder to(P target)

to

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

to

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


Copyright © 2006-2011 Google, Inc.. All Rights Reserved.