From 49338a1b4bcb4466c66c5206b1b3f379daadc03f Mon Sep 17 00:00:00 2001 From: Ed Burns Date: Fri, 29 Mar 2024 15:58:11 -0700 Subject: [PATCH 1/2] On branch edburns-msft-jea-339-absorb-assertions-from-cdi-integration-spec Built-in beans from CDI integration spec. modified: spec/src/main/asciidoc/concepts.adoc Addresses https://github.com/jakartaee/platform/pull/855#pullrequestreview-1931388280 Signed-off-by: Ed Burns --- spec/src/main/asciidoc/concepts.adoc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/spec/src/main/asciidoc/concepts.adoc b/spec/src/main/asciidoc/concepts.adoc index 4e44a6c..70391c2 100644 --- a/spec/src/main/asciidoc/concepts.adoc +++ b/spec/src/main/asciidoc/concepts.adoc @@ -76,3 +76,12 @@ Attributes on these annotations, as well as on the annotations referenced from t For more information, see the package javadoc for the jakarta.security.enterprise package. Jakarta Expression Language, version 5.0 [https://jakarta.ee/specifications/expression-language/5.0/[EL50]] is a Jakarta EE specification. + +==== Built-in beans, not otherwise specified + +Several other sections in this specification mention built-in beans. This section details the required built-in beans that are not specified elsewhere. + +A Jakarta EE or embeddable EJB container must provide the following built-in beans, all of which have qualifier `@Default`: + +* a bean with bean type `jakarta.transaction.UserTransaction`, allowing injection of a reference to the JTA `UserTransaction`, and +* a bean with bean type `java.security.Principal`, allowing injection of a `Principal` representing the current caller identity. From d5844dd6b87dd737f1b089429c51104b0194fb7c Mon Sep 17 00:00:00 2001 From: Ed Burns Date: Fri, 29 Mar 2024 16:18:13 -0700 Subject: [PATCH 2/2] On branch edburns-msft-jea-339-absorb-assertions-from-cdi-integration-spec Remove accidentally added transaction related built-in-bean. modified: spec/src/main/asciidoc/concepts.adoc Signed-off-by: Ed Burns --- spec/src/main/asciidoc/concepts.adoc | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/src/main/asciidoc/concepts.adoc b/spec/src/main/asciidoc/concepts.adoc index 70391c2..e26ed63 100644 --- a/spec/src/main/asciidoc/concepts.adoc +++ b/spec/src/main/asciidoc/concepts.adoc @@ -83,5 +83,4 @@ Several other sections in this specification mention built-in beans. This sectio A Jakarta EE or embeddable EJB container must provide the following built-in beans, all of which have qualifier `@Default`: -* a bean with bean type `jakarta.transaction.UserTransaction`, allowing injection of a reference to the JTA `UserTransaction`, and * a bean with bean type `java.security.Principal`, allowing injection of a `Principal` representing the current caller identity.