@Target(value={METHOD,TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented @Repeatable(value=DomainList.class) @API(status=EXPERIMENTAL, since="1.1") public @interface Domain
@Domain(MyDomainContext.class)
to use only
arbitrary providers and
arbitrary configurators
defined in given context class
You can have many domains on the same element. Providers and configurators from all domains will be considered.
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<? extends DomainContext> |
value |
public abstract java.lang.Class<? extends DomainContext> value