Annotation Interface ConfigurationInject


@Documented @Retention(RUNTIME) @Target({CONSTRUCTOR,METHOD}) @Creator public @interface ConfigurationInject
Allows injecting configuration values into a constructor or method based on the parameter names.

By default inherits the configuration prefix from any ConfigurationProperties or EachProperty definitions present at the class level.

An additional prefix can be attached using the value() member.

Since:
1.3.0
Author:
Graeme Rocher
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String value
      Returns:
      THe configuration prefix to use.
      Default:
      ""