Package io.quarkus.arc
Interface CurrentContextFactory
-
public interface CurrentContextFactory
This factory can be used to create a newCurrentContext
for a normal scope, e.g. forRequestScoped
. It's usually not necessary for shared contexts, such asApplicationScoped
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends InjectableContext.ContextState>
CurrentContext<T>create(Class<? extends Annotation> scope)
-
-
-
Method Detail
-
create
<T extends InjectableContext.ContextState> CurrentContext<T> create(Class<? extends Annotation> scope)
-
-