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 Exception> Deprecated. useCheckedProviderinstead. -
Class Summary Class Description CheckedProviders Static utility methods for creating and working with instances ofCheckedProvider.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.