Class ConfigTrackingInterceptor

  • All Implemented Interfaces:
    io.smallrye.config.ConfigSourceInterceptor, Serializable

    @Priority(5000)
    public class ConfigTrackingInterceptor
    extends Object
    implements io.smallrye.config.ConfigSourceInterceptor
    Build configuration interceptor that records all the configuration options and their values that are read during the build.
    See Also:
    Serialized Form
    • Constructor Detail

      • ConfigTrackingInterceptor

        public ConfigTrackingInterceptor()
    • Method Detail

      • configure

        public void configure​(org.eclipse.microprofile.config.Config config)
        Initializes the configuration tracker
        Parameters:
        config - configuration instance
      • getValue

        public io.smallrye.config.ConfigValue getValue​(io.smallrye.config.ConfigSourceInterceptorContext context,
                                                       String name)
        Specified by:
        getValue in interface io.smallrye.config.ConfigSourceInterceptor