Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

## org.apache.tapestry5.annotations
Annotation Type Service

    @Target(value={FIELD,PARAMETER})
    @Documented
    @Retention(value=RUNTIME)
    @UseWith(value={COMPONENT,MIXIN,PAGE,SERVICE})
    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
`java.lang.String` | `value` The name of the service.

Element Detail

### value

    public abstract java.lang.String value

  The name of the service. Symbols will be expanded and case is not relevant.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT

Copyright © 2003-2012 The Apache Software Foundation.