com.google.inject.throwingproviders.CheckedProvides |
Annotates methods of a Module to create a CheckedProvider
method binding that can throw exceptions. The method's return type is bound
to a CheckedProvider
that can be injected. Guice will pass
dependencies to the method as parameters. Install @CheckedProvides
methods by using
forModule(com.google.inject.Module)
on the
module where the methods are declared.
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.lang.annotation.Annotation
|