@Target(value={TYPE,METHOD}) @Retention(value=RUNTIME) @Documented @UseWith(value={SERVICE,MODULE}) public @interface Marker
ServiceBindingOptions.withMarker(Class[])
will accumulate; a service may have any number of
markers. Generally one or two is enough.ObjectLocator.getService(Class, Class[])
Modifier and Type | Required Element and Description |
---|---|
java.lang.Class[] |
value
The type of annotation (which will be present at the injection point).
|
public abstract java.lang.Class[] value
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.