Annotation Type AutoConfig


@Retention(SOURCE) @Target(TYPE) public @interface AutoConfig
If an interface that
  • extends a fault tolerance annotation type,
  • extends the Config interface,
  • includes a default implementation of the Config.validate() method
is annotated @AutoConfig, an implementation will be generated automatically. The implementation will have a public static factory method called create that accepts FaultToleranceMethod.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Whether the annotation values can be overridden by MP Config.
  • 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