public class ThrowingProviderBinder.SecondaryBinder<P extends CheckedProvider,T>
extends java.lang.Object
| Constructor | Description |
|---|---|
SecondaryBinder(java.lang.Class<P> interfaceType,
java.lang.reflect.Type valueType) |
| Modifier and Type | Method | Description |
|---|---|---|
ThrowingProviderBinder.SecondaryBinder<P,T> |
annotatedWith(java.lang.annotation.Annotation annotation) |
|
ThrowingProviderBinder.SecondaryBinder<P,T> |
annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType) |
|
ScopedBindingBuilder |
providing(TypeLiteral<? extends T> cxtorLiteral) |
|
ScopedBindingBuilder |
providing(java.lang.Class<? extends T> cxtorClass) |
|
ThrowingProviderBinder.SecondaryBinder<P,T> |
scopeExceptions(boolean scopeExceptions) |
Determines if exceptions should be scoped.
|
ScopedBindingBuilder |
to(Key<? extends P> targetKey) |
|
ScopedBindingBuilder |
to(java.lang.Class<? extends P> targetType) |
|
ScopedBindingBuilder |
to(P target) |
public SecondaryBinder(java.lang.Class<P> interfaceType, java.lang.reflect.Type valueType)
public ThrowingProviderBinder.SecondaryBinder<P,T> annotatedWith(java.lang.Class<? extends java.lang.annotation.Annotation> annotationType)
public ThrowingProviderBinder.SecondaryBinder<P,T> annotatedWith(java.lang.annotation.Annotation annotation)
public ThrowingProviderBinder.SecondaryBinder<P,T> scopeExceptions(boolean scopeExceptions)
scopeExceptions - whether exceptions should be scoped.public ScopedBindingBuilder to(P target)
public ScopedBindingBuilder to(java.lang.Class<? extends P> targetType)
public ScopedBindingBuilder providing(java.lang.Class<? extends T> cxtorClass)
public ScopedBindingBuilder providing(TypeLiteral<? extends T> cxtorLiteral)
public ScopedBindingBuilder to(Key<? extends P> targetKey)