Package io.quarkus.arc.processor
Class ContextConfigurator
java.lang.Object
io.quarkus.arc.processor.ContextConfigurator
Custom context configurator.
- Author:
- Martin Kouba
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptioncontextClass(Class<? extends io.quarkus.arc.InjectableContext> contextClazz) creator(Function<ContextConfigurator.CreateGeneration, io.quarkus.gizmo2.Expr> creator) voiddone()normal()By default, the context is considered normal if the scope annotion is annotated withNormalScope.normal(boolean value) By default, the context is considered normal if the scope annotion is annotated withNormalScope.
-
Method Details
-
param
-
param
-
param
-
param
-
param
-
param
-
normal
By default, the context is considered normal if the scope annotion is annotated withNormalScope.It is possible to change this behavior. However, in such case the registrator is responsible for the correct implementation of
InjectableContext.isNormal().- Returns:
- self
-
normal
By default, the context is considered normal if the scope annotion is annotated withNormalScope.It is possible to change this behavior. However, in such case the registrator is responsible for the correct implementation of
InjectableContext.isNormal().- Returns:
- self
-
contextClass
public ContextConfigurator contextClass(Class<? extends io.quarkus.arc.InjectableContext> contextClazz) -
creator
-
creator
public ContextConfigurator creator(Function<ContextConfigurator.CreateGeneration, io.quarkus.gizmo2.Expr> creator) -
done
public void done()
-