guice-throwingproviders.jar
.See: Description
Interface | Description |
---|---|
CheckedProvider<T> |
Alternative to the Guice
Provider that throws a checked Exception. |
CheckedProviderWithDependencies<T> |
A checked provider with dependencies, so
HasDependencies can be implemented when using
the SecondaryBinder#using methods. |
ThrowingProvider<T,E extends java.lang.Exception> | Deprecated
use
CheckedProvider instead. |
Class | Description |
---|---|
CheckedProviderMethod<T> |
A provider that invokes a method and returns its result.
|
CheckedProviderMethodsModule |
Creates bindings to methods annotated with @
CheckedProvides . |
CheckedProviderMethodsModule.LogProvider |
A provider that returns a logger based on the method name.
|
CheckedProviders |
Static utility methods for creating and working with instances of
CheckedProvider . |
CheckedProviders.CheckedProviderInvocationHandler<T> | |
CheckedProviders.ReturningHandler<T> | |
CheckedProviders.ThrowingHandler | |
CheckedProvideUtils |
Utilities for the throwing provider module.
|
ProviderChecker |
Helper methods to verify the correctness of CheckedProvider interfaces.
|
ProviderChecker.NotSyntheticOrBridgePredicate | |
ThrowingProviderBinder |
Builds a binding for a
CheckedProvider . |
ThrowingProviderBinder.Result |
Represents the returned value from a call to
CheckedProvider.get() . |
Exception | Description |
---|---|
ThrowingProviderBinder.ResultException |
RuntimeException class to wrap exceptions from the checked provider.
|
Annotation Type | Description |
---|---|
CheckedProvides |
Annotates methods of a
Module to create a CheckedProvider
method binding that can throw exceptions. |
ThrowingInject |
A version of @
Inject designed for ThrowingProviders. |
guice-throwingproviders.jar
.