@Documented
@Target(value=TYPE)
@Retention(value=RUNTIME)
@Beta
public @interface ProducerModule
Produces bindings to the production component.| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<?>[] |
includes
Additional
@ProducerModule- or Module-annotated classes from which this module
is composed. |
java.lang.Class<?>[] |
subcomponents
Any
Subcomponent- or ProductionSubcomponent-annotated classes which
should be children of the component in which this module is installed. |
public abstract java.lang.Class<?>[] includes
@ProducerModule- or Module-annotated classes from which this module
is composed. The de-duplicated contributions of the modules in includes, and of their
inclusions recursively, are all contributed to the object graph.public abstract java.lang.Class<?>[] subcomponents
Subcomponent- or ProductionSubcomponent-annotated classes which
should be children of the component in which this module is installed. A subcomponent may be
listed in more than one module in a component.