This package contains the public API for Dagger 2's producer functionality.
Dagger Producers is an extension to Dagger that implements asynchronous dependency injection in Java.
Extended documentation on Dagger Producers can be found at https://dagger.dev/producers.
Interface Summary Interface Description Producer<T>An interface that represents the production of a type
Class Summary Class Description Produced<T>An interface that represents the result of a production of type
T, or an exception that was thrown during that production.
ProducersUtility methods to create
Enum Summary Enum Description CancellationPolicy.PropagationEnumeration of the options for what happens to a parent component when one of its child components is cancelled.
Annotation Types Summary Annotation Type Description CancellationPolicyAnnotates a production component or subcomponent to specify its policy when a child component is cancelled. ProducerModuleAnnotates a class that contributes
Producesbindings to the production component.
ProducesAnnotates methods of a producer module to create a production binding. ProductionQualifies a type that will be provided to the framework for use internally. ProductionComponentAnnotates an interface or abstract class for which a fully-formed, dependency-injected implementation is to be generated from a set of modules. ProductionComponent.BuilderA builder for a production component. ProductionComponent.FactoryA factory for a production component. ProductionScopeA scope annotation for provision bindings that are tied to the lifetime of a
ProductionSubcomponentA subcomponent that inherits the bindings from a parent
ProductionSubcomponent.BuilderA builder for a production subcomponent. ProductionSubcomponent.FactoryA factory for a production subcomponent.