Annotation Type 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
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String value  
    • Element Detail

      • value

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