Annotation Type AutoConfig
If an interface that
- extends a fault tolerance annotation type,
- extends the
Configinterface (orConfigDeclarativeOnly), - includes a
defaultimplementation of theConfig.validate()method
@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 ElementsModifier and TypeOptional ElementDescriptionbooleanWhether the annotation values can be overridden by MP Config.booleanWhether 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 configurableWhether 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 newConfigAllowedWhether 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
-