Annotation Type Value
-
@Target({PARAMETER,FIELD}) @Retention(RUNTIME) @Documented @UseWith({COMPONENT,MIXIN,PAGE,SERVICE}) public @interface ValueUsed in conjunction withInjectto 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
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe value to be coerced and injected.
-
-
-
Element Detail
-
value
java.lang.String value
The value to be coerced and injected.
-
-