Package com.google.inject.assistedinject
Extension for combining factory interfaces with injection; this extension requires
guice-assistedinject.jar
.-
Interface Summary Interface Description AssistedInjectBinding<T> A binding for a factory created by FactoryModuleBuilder.AssistedInjectTargetVisitor<T,V> A visitor for the AssistedInject extension.AssistedMethod Details about how a method in an assisted inject factory will be assisted. -
Class Summary Class Description AssistedConstructor<T> Internal respresentation of a constructor annotated withAssistedInject
BindingCollector Utility class for collecting factory bindings.FactoryModuleBuilder Provides a factory that combines the caller's arguments with injector-supplied values to construct objects.FactoryProvider<F> Deprecated. useFactoryModuleBuilder
instead.FactoryProvider2<F> The newer implementation of factory provider.FactoryProvider2.AssistData All the data necessary to perform an assisted inject.FactoryProvider2.ThreadLocalProvider Parameter Models a method or constructor parameter.ParameterListKey A list ofTypeLiteral
s to match an injectable Constructor's assited parameter types to the corresponding factory method. -
Annotation Types Summary Annotation Type Description Assisted Annotates an injected parameter or field whose value comes from an argument to a factory method.AssistedInject When used in tandem withFactoryModuleBuilder
, constructors annotated with@AssistedInject
indicate that multiple constructors can be injected, each with different parameters.