Class ThrowingProviderBinder.SecondaryBinder<P extends CheckedProvider,T>
java.lang.Object
com.google.inject.throwingproviders.ThrowingProviderBinder.SecondaryBinder<P,T>
- Enclosing class:
- ThrowingProviderBinder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionannotatedWith
(Annotation annotation) annotatedWith
(Class<? extends Annotation> annotationType) providing
(TypeLiteral<? extends T> cxtorLiteral) scopeExceptions
(boolean scopeExceptions) Determines if exceptions should be scoped.
-
Constructor Details
-
SecondaryBinder
-
-
Method Details
-
annotatedWith
public ThrowingProviderBinder.SecondaryBinder<P,T> annotatedWith(Class<? extends Annotation> annotationType) -
annotatedWith
-
scopeExceptions
Determines if exceptions should be scoped. By default exceptions are scoped.- Parameters:
scopeExceptions
- whether exceptions should be scoped.- Since:
- 4.0
-
to
-
to
-
providing
- Since:
- 4.0
-
providing
- Since:
- 4.0
-
to
-