From 6baa79c1562a05c4cd668efc182ce807aeedf1a4 Mon Sep 17 00:00:00 2001 From: Andrew Rouse Date: Thu, 29 Feb 2024 21:24:54 +0000 Subject: [PATCH] Update the changes spec section for 4.1 (#781) --- spec/src/main/asciidoc/preface.asciidoc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/spec/src/main/asciidoc/preface.asciidoc b/spec/src/main/asciidoc/preface.asciidoc index 4d74f5b8..7cb45cec 100644 --- a/spec/src/main/asciidoc/preface.asciidoc +++ b/spec/src/main/asciidoc/preface.asciidoc @@ -35,9 +35,17 @@ This document is organized in 4 parts: ==== Jakarta Contexts and Dependency Injection 4.1 -link:https://jakarta.ee/specifications/cdi/4.1/[CDI 4.1] deprecates the Unified EL integration API in `BeanManager` and places the relevant methods to a dedicated interface `ELAwareBeanManager`, which is present in a new supplemental API artifact: `jakarta.enterprise:jakarta.enterprise.cdi-el-api`. +link:https://jakarta.ee/specifications/cdi/4.1/[CDI 4.1] no longer specifies integration with Jakarta EE. This will now be specified in the Jakarta EE Platform, Web Profile and Core Profile specifications. + +The Unified EL integration API in `BeanManager` has been deprecated and the relevant methods added to a dedicated interface `ELAwareBeanManager`, which is present in a new supplemental API artifact: `jakarta.enterprise:jakarta.enterprise.cdi-el-api`. This supplemental artifact declares a JPMS module `jakarta.cdi.el`, which declares a dependency on `jakarta.cdi` and `jakarta.el`. +The <> API has been added to allow frameworks to more easily call methods on managed beans and optionally look up the bean instance and arguments using CDI. + +New methods have been added to `BeanContainer` to check <> and to <>. + +The `@Priority` annotation can now be placed on producer methods and producer fields directly. + ==== Jakarta Contexts and Dependency Injection 4.0 link:https://jakarta.ee/specifications/cdi/4.0/[CDI 4.0] splits the CDI core into Lite and Full. Lite contains a subset of original features which are designed to work in more restricted environments. CDI Full contains everything that is in Lite plus all other features that were formerly in core CDI and are not in Lite.