Package io.smallrye.config
Interface SmallRyeConfigBuilderCustomizer
public interface SmallRyeConfigBuilderCustomizer
This
SmallRyeConfigBuilderCustomizer allows to customize a SmallRyeConfigBuilder, used to create
a SmallRyeConfig instance.
Instances of this interface will be discovered via the ServiceLoader mechanism and can be
registered by providing a META-INF/services/io.smallrye.config.SmallRyeConfigBuilderCustomizer which
contains the fully qualified class name of the custom SmallRyeConfigBuilderCustomizer implementation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigBuilder(SmallRyeConfigBuilder builder) Customize the currentSmallRyeConfigBuilder.default intpriority()Returns the customizer priority.
-
Method Details
-
configBuilder
Customize the currentSmallRyeConfigBuilder.- Parameters:
builder- the currentSmallRyeConfigBuilder.
-
priority
default int priority()Returns the customizer priority. Customizers are sorted by ascending priority and executed in that order, meaning that higher numeric priorities will be executing last, possible overriding values set by previous customizers.- Returns:
- the priority value.
-