Package io.quarkus.arc.impl
Class SessionContext
java.lang.Object
io.quarkus.arc.impl.CurrentManagedContext
io.quarkus.arc.impl.SessionContext
- All Implemented Interfaces:
InjectableContext,ManagedContext,jakarta.enterprise.context.spi.AlterableContext,jakarta.enterprise.context.spi.Context
The built-in context for
SessionScoped.-
Nested Class Summary
Nested classes/interfaces inherited from class io.quarkus.arc.impl.CurrentManagedContext
CurrentManagedContext.CurrentContextStateNested classes/interfaces inherited from interface io.quarkus.arc.InjectableContext
InjectableContext.ContextState -
Constructor Summary
ConstructorsConstructorDescriptionSessionContext(CurrentContext<CurrentManagedContext.CurrentContextState> currentContext, io.quarkus.arc.impl.EventImpl.Notifier<Object> initializedNotifier, io.quarkus.arc.impl.EventImpl.Notifier<Object> beforeDestroyedNotifier, io.quarkus.arc.impl.EventImpl.Notifier<Object> destroyedNotifier, Supplier<ContextInstances> contextInstances) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> getScope()protected jakarta.enterprise.context.ContextNotActiveExceptionMethods inherited from class io.quarkus.arc.impl.CurrentManagedContext
activate, deactivate, destroy, destroy, destroy, get, get, getIfActive, getState, initializeState, isActive, traceActivate, traceDeactivate, traceDestroy, traceLogMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.arc.InjectableContext
getStateIfActive, isNormalMethods inherited from interface io.quarkus.arc.ManagedContext
activate, activate$$bridge, activate$$bridge, terminate
-
Constructor Details
-
SessionContext
public SessionContext(CurrentContext<CurrentManagedContext.CurrentContextState> currentContext, io.quarkus.arc.impl.EventImpl.Notifier<Object> initializedNotifier, io.quarkus.arc.impl.EventImpl.Notifier<Object> beforeDestroyedNotifier, io.quarkus.arc.impl.EventImpl.Notifier<Object> destroyedNotifier, Supplier<ContextInstances> contextInstances)
-
-
Method Details
-
getScope
-
notActive
protected jakarta.enterprise.context.ContextNotActiveException notActive()- Specified by:
notActivein classCurrentManagedContext
-