Annotation Interface Config


@Target(FIELD) @Retention(RUNTIME) public @interface Config
Marks a field for automatic configuration injection from a jPOS Configuration. The value() attribute specifies the property name; if omitted, the field name is used.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the property name to inject (defaults to field name).
  • Element Details

    • value

      Returns the property name to inject (defaults to field name).
      Returns:
      property name