package

com.google.inject.throwingproviders

Classes | Description

Extension for injecting objects that may throw at provision time; this extension requires guice-throwingproviders-2.0.jar.

more...

Interfaces

ThrowingProvider<T, E extends Exception> Alternative to the Guice Provider that throws a checked Exception. 

Classes

ThrowingProviderBinder

Builds a binding for a ThrowingProvider using a fluent API:

ThrowingProviderBinder.create(binder())
    .bind(RemoteProvider.class, Customer.class)
    .to(RemoteCustomerProvider.class)
    .in(RequestScope.class);
 
 
ThrowingProviderBinder.SecondaryBinder<P extends ThrowingProvider>