@Target({PARAMETER,METHOD,FIELD})
@Retention(RUNTIME)
@Documented
@Deprecated(forRemoval=true,
since="5.0")
public @interface Context
Deprecated, for removal: This API element is subject to removal in a future version.
use Jakarta Context and Dependency injection
This annotation is used to inject information into a class field, bean property or method parameter.
Note that future versions of this API will stop supporting injection via
Context as part of a tighter integration and alignment with
Jakarta CDI.
- Since:
- 1.0
- Author:
- Paul Sandoz, Marc Hadley
- See Also: