public final class ContextConfigurator extends Object
| Modifier and Type | Method and Description |
|---|---|
ContextConfigurator |
contextClass(Class<? extends InjectableContext> contextClazz) |
ContextConfigurator |
creator(Class<? extends ContextCreator> creatorClazz) |
ContextConfigurator |
creator(Function<io.quarkus.gizmo.MethodCreator,io.quarkus.gizmo.ResultHandle> creator) |
void |
done() |
ContextConfigurator |
normal()
By default, the context is considered normal if the scope annotion is annotated with
NormalScope. |
ContextConfigurator |
normal(boolean value)
By default, the context is considered normal if the scope annotion is annotated with
NormalScope. |
ContextConfigurator |
param(String name,
boolean value) |
ContextConfigurator |
param(String name,
Class<?> value) |
ContextConfigurator |
param(String name,
double value) |
ContextConfigurator |
param(String name,
int value) |
ContextConfigurator |
param(String name,
long value) |
ContextConfigurator |
param(String name,
String value) |
public ContextConfigurator param(String name, Class<?> value)
public ContextConfigurator param(String name, int value)
public ContextConfigurator param(String name, long value)
public ContextConfigurator param(String name, double value)
public ContextConfigurator param(String name, String value)
public ContextConfigurator param(String name, boolean value)
public ContextConfigurator normal()
NormalScope.
It is possible to change this behavior. However, in such case the registrator is responsible for the correct
implementation of InjectableContext.isNormal().
public ContextConfigurator normal(boolean value)
NormalScope.
It is possible to change this behavior. However, in such case the registrator is responsible for the correct
implementation of InjectableContext.isNormal().
public ContextConfigurator contextClass(Class<? extends InjectableContext> contextClazz)
public ContextConfigurator creator(Class<? extends ContextCreator> creatorClazz)
public ContextConfigurator creator(Function<io.quarkus.gizmo.MethodCreator,io.quarkus.gizmo.ResultHandle> creator)
public void done()
Copyright © 2021 JBoss by Red Hat. All rights reserved.