Class ConfigStaticInitValues


  • @Singleton
    public class ConfigStaticInitValues
    extends Object
    This is a store for all config values injected (directly or programmatically) during the static init phase.

    The values are then compared with the current values during the runtime init, i.e. when the application starts. If a mismatch is found the startup fails with an actionable error.

    • Constructor Detail

      • ConfigStaticInitValues

        public ConfigStaticInitValues()
    • Method Detail

      • recordConfigValue

        void recordConfigValue​(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint,
                               String name,
                               String value)
      • onStart

        void onStart​(@Observes @Priority(-2147483648)
                     StartupEvent event)