Package io.micronaut.context.annotation
Annotation Interface Value
@Target({FIELD,METHOD,PARAMETER,ANNOTATION_TYPE})
@Retention(RUNTIME)
@Documented
@Qualifier
public @interface Value
Allows configuration injection from the environment or bean context on a per property, field, method/constructor parameter basis.
- Since:
- 1.0
- Author:
- Graeme Rocher
- See Also:
-
Required Element Summary
-
Element Details
-
value
String valueA string containing a value, which my optionally contain property placeholder expressions or evaluated expressions.- Returns:
- The value to inject.
-