Package io.quarkus.arc.runtime
Class ConfigStaticInitCheckInterceptor
- java.lang.Object
-
- io.quarkus.arc.runtime.ConfigStaticInitCheckInterceptor
-
@Priority(0) @Interceptor public class ConfigStaticInitCheckInterceptor extends Object
Intercepts the producer methods declared onConfigProducer
and records the config value during the static initialization phase unless the injection point is annotated withStaticInitSafe
. It's no-op for any other execution mode.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ConfigStaticInitValues
configValues
-
Constructor Summary
Constructors Constructor Description ConfigStaticInitCheckInterceptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Object
aroundInvoke(jakarta.interceptor.InvocationContext context)
(package private) static void
recordConfigValue(jakarta.enterprise.inject.spi.InjectionPoint injectionPoint, ConfigStaticInitValues configValues)
-
-
-
Field Detail
-
configValues
@Inject ConfigStaticInitValues configValues
-
-
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)
-
-