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

## org.apache.tapestry5.ioc.annotations
Annotation Type InjectService

    @Target(value={PARAMETER,FIELD})
    @Retention(value=RUNTIME)
    @Documented
    @UseWith(value=SERVICE)
    public @interface InjectService

Annotation 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 the `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)`.

Required Element Summary
`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.

Element Detail

### value

    public abstract 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.

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.