Package dagger.producers
Annotation Interface ProductionSubcomponent
A subcomponent that inherits the bindings from a parent
Component
, Subcomponent
,
ProductionComponent
, or ProductionSubcomponent
. The details of how to associate a
subcomponent with a parent are described in the documentation for Component
.
The executor for a production subcomponent is supplied by binding
@Production Executor
, similar to ProductionComponent
. Note that
this binding may be in an ancestor component.
- Since:
- 2.1
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic @interface
A builder for a production subcomponent.static @interface
A factory for a production subcomponent. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<?>[]
A list of classes annotated withModule
orProducerModule
whose bindings are used to generate the subcomponent implementation.
-
Element Details
-
modules
Class<?>[] modulesA list of classes annotated withModule
orProducerModule
whose bindings are used to generate the subcomponent implementation. Note that through the use ofModule.includes()
orProducerModule.includes()
the full set of modules used to implement the subcomponent may include more modules that just those listed here.- Default:
- {}
-