Annotation Type InjectService
-
@Target({PARAMETER,FIELD}) @Retention(RUNTIME) @Documented @UseWith(SERVICE) public @interface InjectServiceAnnotation used with parameters of service builder methods to identify the service to be injected into the service builder method via the parameter. In many cases theInjectannotation 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).
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe id of the service to inject; either a fully qualified id, or the unqualified id of a service within the same module.
-
-
-
Element Detail
-
value
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.
-
-