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 Value

    @Target(value={PARAMETER,FIELD})
    @Retention(value=RUNTIME)
    @Documented
    @UseWith(value={COMPONENT,MIXIN,PAGE,SERVICE})
    public @interface Value

Used in conjunction with `Inject` to inject a literal value, rather than a service. Symbols in the value are expanded and the resulting string is coerced to the desired type. For IoC, this annotation is only applied to parameters (on service builder methods, and on service constructors); for components, it may also be applied to field.

See Also:
  `SymbolSource`, `TypeCoercer`

Required Element Summary
`java.lang.String` | `value` The value to be coerced and injected.

Element Detail

### value

    public abstract java.lang.String value

  The value to be coerced and injected.

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.