Package org.apache.tapestry5.annotations
Annotation Type Service
-
@Target({FIELD,PARAMETER}) @Documented @Retention(RUNTIME) @UseWith({COMPONENT,MIXIN,PAGE,SERVICE}) public @interface Service
Used in conjunction with theInject
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.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String
value
The name of the service.
-
-
-
Element Detail
-
value
java.lang.String value
The name of the service. Symbols will be expanded and case is not relevant.
-
-