Annotation Interface PropertyInject


@Retention(RUNTIME) @Documented @Target({FIELD,METHOD,CONSTRUCTOR,PARAMETER}) public @interface PropertyInject
Used to indicate an injection point of a property placeholder into a POJO.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of the property
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Default value to use if the property does not exists or has no value
  • Element Details

    • value

      String value
      Name of the property
    • defaultValue

      String defaultValue
      Default value to use if the property does not exists or has no value
      Default:
      ""