org.apache.tapestry.annotations
Annotation Type Service
@Target(value={FIELD,PARAMETER})
@Documented
@Retention(value=RUNTIME)
public @interface Service
Used in conjunction with the 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.
|
Required Element Summary |
String |
value
The name of the service. |
value
public abstract String value
- The name of the service. Symbols will be expanded and case is not relevant.
Copyright © 2006-2007 Apache Software Foundation. All Rights Reserved.