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 the
Contextual implementation during instance
creation and destruction. |
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.
Copyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.