Package io.quarkus.arc
Interface InjectableContext.ContextState
- Enclosing interface:
- InjectableContext
public static interface InjectableContext.ContextState
-
Method Summary
Modifier and TypeMethodDescriptionMap<InjectableBean<?>,
Object> default boolean
isValid()
Context state is typically invalidated once the context to which is belongs is being destroyed.
-
Method Details
-
getContextualInstances
Map<InjectableBean<?>,Object> getContextualInstances()- Returns:
- an immutable map of contextual instances
-
isValid
default boolean isValid()Context 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.- Returns:
- true if the context state is valid, false otherwise
-