Package io.quarkus.arc.processor
Class ContextConfigurator
java.lang.Object
io.quarkus.arc.processor.ContextConfigurator
Custom context configurator.
- Author:
- Martin Kouba
-
Method Summary
Modifier and TypeMethodDescriptioncontextClass(Class<? extends InjectableContext> contextClazz) creator(Class<? extends ContextCreator> creatorClazz) 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
-
creator
-
creator
public ContextConfigurator creator(Function<io.quarkus.gizmo.MethodCreator, io.quarkus.gizmo.ResultHandle> creator) -
done
public void done()
-