@Retention(value=RUNTIME)
@Target(value=TYPE)
@Documented
public @interface ProductionSubcomponent
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.
Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<?>[] |
modules
A list of classes annotated with
Module or ProducerModule whose bindings are
used to generate the subcomponent implementation. |
public abstract java.lang.Class<?>[] modules
Module
or ProducerModule
whose bindings are
used to generate the subcomponent implementation. Note that through the use of
Module.includes()
or ProducerModule.includes()
the full set of modules used to
implement the subcomponent may include more modules that just those listed here.