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
    FactoryModuleBuilder
    Provides a factory that combines the caller's arguments with injector-supplied values to construct objects.
    FactoryProvider<F> Deprecated.
  • 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 with FactoryModuleBuilder, constructors annotated with @AssistedInject indicate that multiple constructors can be injected, each with different parameters.