@Target(value={FIELD,PARAMETER})
@Documented
@Retention(value=RUNTIME)
@UseWith(value={COMPONENT,MIXIN,PAGE,SERVICE})
public @interface Service
Inject annotation to identify a service by name and not by type. This
is most useful when there are multiple services with the same service interface and a particular one needs to be
selected.| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
The name of the service.
|
public abstract java.lang.String value
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.