Class ConfigStaticInitCheckInterceptor


  • @Priority(0)
    @Interceptor
    public class ConfigStaticInitCheckInterceptor
    extends Object
    Intercepts the producer methods declared on ConfigProducer and records the config value during the static initialization phase unless the injection point is annotated with StaticInitSafe. It's no-op for any other execution mode.
    • Constructor Detail

      • ConfigStaticInitCheckInterceptor

        public ConfigStaticInitCheckInterceptor()
    • Method Detail

      • aroundInvoke

        Object aroundInvoke​(jakarta.interceptor.InvocationContext context)
                     throws Exception
        Throws:
        Exception
      • recordConfigValue

        static void recordConfigValue​(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint,
                                      ConfigStaticInitValues configValues)