Package io.quarkus.arc.impl
Class CurrentManagedContext.CurrentContextState
java.lang.Object
io.quarkus.arc.impl.CurrentManagedContext.CurrentContextState
- All Implemented Interfaces:
InjectableContext.ContextState
- Enclosing class:
CurrentManagedContext
public static class CurrentManagedContext.CurrentContextState
extends Object
implements InjectableContext.ContextState
-
Method Summary
Modifier and TypeMethodDescriptionMap<InjectableBean<?>, Object> booleanisValid()Context state is typically invalidated once the context to which is belongs is being destroyed.
-
Method Details
-
getContextualInstances
- Specified by:
getContextualInstancesin interfaceInjectableContext.ContextState- Returns:
- an immutable map of contextual instances
-
isValid
public boolean isValid()Description copied from interface:InjectableContext.ContextStateContext state is typically invalidated once the context to which is belongs is being destroyed. This flag is then used by context propagation to indicate that the given state shouldn't be reused anymore.- Specified by:
isValidin interfaceInjectableContext.ContextState- Returns:
- true if the context state is valid, false otherwise
-