Package dagger.producers
package dagger.producers
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.
-
ClassDescriptionAnnotates a production component or subcomponent to specify its policy when a child component is cancelled.Enumeration of the options for what happens to a parent component when one of its child components is cancelled.Produced<T>An interface that represents the result of a production of type
T
, or an exception that was thrown during that production.Producer<T>An interface that represents the production of a typeT
.Annotates a class that contributesProduces
bindings to the production component.Utility methods to createProducer
s.Annotates methods of a producer module to create a production binding.Qualifies a type that will be provided to the framework for use internally.Annotates an interface or abstract class for which a fully-formed, dependency-injected implementation is to be generated from a set of modules.A builder for a production component.A factory for a production component.A scope annotation for provision bindings that are tied to the lifetime of aProductionComponent
orProductionSubcomponent
.A subcomponent that inherits the bindings from a parentComponent
,Subcomponent
,ProductionComponent
, orProductionSubcomponent
.A builder for a production subcomponent.A factory for a production subcomponent.