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
Providerthat throws a checked Exception.A provider that invokes a method and returns its result.Creates bindings to methods annotated with @CheckedProvides.A provider that returns a logger based on the method name.Static utility methods for creating and working with instances ofCheckedProvider.A checked provider with dependencies, soHasDependenciescan be implemented when using theSecondaryBinder#usingmethods.Annotates methods of aModuleto create aCheckedProvidermethod binding that can throw exceptions.Utilities for the throwing provider module.Helper methods to verify the correctness of CheckedProvider interfaces.A version of @Injectdesigned for ThrowingProviders.ThrowingProvider<T,E extends Exception> Deprecated.Builds a binding for aCheckedProvider.Represents the returned value from a call toCheckedProvider.get().RuntimeException class to wrap exceptions from the checked provider.
CheckedProviderinstead.