Package io.micronaut.context.annotation
Annotation Type ConfigurationInject
-
@Documented @Retention(RUNTIME) @Target({CONSTRUCTOR,METHOD}) @Creator public @interface ConfigurationInjectAllows injecting configuration values into a constructor or method based on the parameter names.By default inherits the configuration prefix from any
ConfigurationPropertiesorEachPropertydefinitions present at the class level.An additional prefix can be attached using the
value()member.- Since:
- 1.3.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringvalue
-