Package com.google.inject.throwingproviders
Extension for injecting objects that may throw at provision time; this extension requires
guice-throwingproviders.jar.-
Interface Summary Interface Description CheckedProvider<T> Alternative to the GuiceProviderthat throws a checked Exception.ThrowingProvider<T,E extends java.lang.Exception> Deprecated. useCheckedProviderinstead. -
Class Summary Class Description ThrowingProviderBinder Builds a binding for aCheckedProvider. -
Annotation Types Summary Annotation Type Description CheckedProvides Annotates methods of aModuleto create aCheckedProvidermethod binding that can throw exceptions.ThrowingInject A version of @Injectdesigned for ThrowingProviders.