@Target(value={PARAMETER,FIELD}) @Retention(value=RUNTIME) @Documented @UseWith(value={COMPONENT,MIXIN,PAGE,SERVICE}) public @interface Value
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.SymbolSource
,
TypeCoercer
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.