Package jakarta.enterprise.context.spi
The custom context SPI.
Associated with every scope type is a context object. The context object implements the semantics of the scope type.
The context implementation collaborates with the container via
the Context
and
Contextual
interfaces to create and destroy contextual instances.
-
Interface Summary Interface Description AlterableContext Provides an operation for obtaining and destroying contextual instances with a particular scope of any contextual type.Context Provides an operation for obtaining contextual instances with a particular scope of any contextual type.Contextual<T> Defines operations to create and destroy contextual instances of a certain type.CreationalContext<T> Provides operations that are used by theContextual
implementation during instance creation and destruction.