Annotation Type AutoConfig


@Retention(SOURCE) @Target(TYPE) public @interface AutoConfig
If an interface that is annotated @AutoConfig, an implementation will be generated automatically. The implementation will have a public static factory method called create that accepts FaultToleranceMethod. If the interface extends Config (and not ConfigDeclarativeOnly), the implementation will also have a public static factory method called create that accepts an id and a bunch of Suppliers of the annotation instances.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the annotation values can be overridden by MP Config.
    boolean
    Whether the annotation values can be overridden by SmallRye Fault Tolerance-specific MP Config properties, in addition to the specification-defined MP Config properties.
  • Element Details

    • configurable

      boolean configurable
      Whether the annotation values can be overridden by MP Config.

      Usually true, but there may be annotations for which that is not desirable.

      Default:
      true
    • newConfigAllowed

      boolean newConfigAllowed
      Whether the annotation values can be overridden by SmallRye Fault Tolerance-specific MP Config properties, in addition to the specification-defined MP Config properties.

      Usually true, but there may be annotations for which that is not desirable.

      Default:
      true