Package com.google.inject.throwingproviders
package com.google.inject.throwingproviders
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar
.-
ClassDescriptionAlternative to the Guice
Provider
that throws a checked Exception.Annotates methods of aModule
to create aCheckedProvider
method binding that can throw exceptions.A version of @Inject
designed for ThrowingProviders.ThrowingProvider<T,E extends Exception> Deprecated.Builds a binding for aCheckedProvider
.
CheckedProvider
instead.