@Target(value={PARAMETER,FIELD})
@Retention(value=RUNTIME)
@Documented
@UseWith(value=SERVICE)
public @interface InjectService
Inject annotation is
more flexible or appropriate.
This annotation may also be used with fields of service implementation classes, modules, or other objects constructed
via ObjectLocator.autobuild(Class).| Modifier and Type | Required Element and Description |
|---|---|
java.lang.String |
value
The id of the service to inject; either a fully qualified id, or the unqualified id of a service within the same
module.
|
public abstract java.lang.String value
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.