diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5754bf6..332bb2f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,10 +1,10 @@ -# Contributing to Eclipse Project for JTA +# Contributing to Jakarta Transactions Thanks for your interest in this project. ## Project description -Java Transaction API (JTA) specifies standard Java interfaces between a +Jakarta Transactions specifies standard Java interfaces between a transaction manager and the parties involved in a distributed transaction system: the resource manager, the application server, and the transactional applications. diff --git a/NOTICE.md b/NOTICE.md index 1a4ed31..f3b1b26 100644 --- a/NOTICE.md +++ b/NOTICE.md @@ -1,12 +1,12 @@ -# Notices for Eclipse Project for JTA +# Notices for Jakarta Transactions -This content is produced and maintained by the Eclipse Project for JTA project. +This content is produced and maintained by the Jakarta Transactions project. * Project home: https://projects.eclipse.org/projects/ee4j.jta ## Trademarks -Eclipse Project for JTA is a trademark of the Eclipse Foundation. +Jakarta Transactions is a trademark of the Eclipse Foundation. ## Copyright diff --git a/README.md b/README.md index c0bebfa..56a6f62 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Java(TM) Transaction API (JTA) -Java(TM) Transaction API (JTA), one of the Java Enterprise Edition (Java EE) APIs, enables distributed transactions to be done across multiple X/Open XA resources in a Java environment. JTA is a specification developed under the Java Community Process as JSR 907. +# Jakarta Transactions +Jakarta Transactions enables distributed transactions to be done across multiple X/Open XA resources in a Java environment. -This standalone release of Java(TM) Java Transaction API (JTA), uses a [Java Platform Module System](http://openjdk.java.net/projects/jigsaw/spec/) +This standalone release of Jakarta Transactions, uses a [Java Platform Module System](http://openjdk.java.net/projects/jigsaw/spec/) "automatic" module name of `java.transaction`, to match the module name used in JDK 9. A future version will include full module metadata. Moreover `javax.transaction.xa` package is now owned by Java SE. diff --git a/api/pom.xml b/api/pom.xml index c3dbfc7..b5599fc 100644 --- a/api/pom.xml +++ b/api/pom.xml @@ -38,7 +38,7 @@ Low ${extension.name} API - Eclipse Project for JTA + Jakarta Transactions https://projects.eclipse.org/projects/ee4j.jta @@ -74,7 +74,7 @@ - JTA mailing list + Jakarta Transactions mailing list jta-dev@eclipse.org https://dev.eclipse.org/mailman/listinfo/jta-dev https://dev.eclipse.org/mailman/listinfo/jta-dev @@ -152,7 +152,7 @@ ${spec.implementation.version} ${spec.specification.version} - Java(TM) JTA ${spec.version} API Design Specification + Jakarta(TM) Transactions ${spec.version} API Design Specification Oracle Corporation ${project.organization.name} @@ -239,13 +239,13 @@ false - Java Transaction API documentation + Jakarta Transactions documentation - Java Transaction API documentation + Jakarta Transactions documentation - Java Transaction API documentation + Jakarta Transactions documentation true true diff --git a/api/src/main/java/javax/transaction/TransactionScoped.java b/api/src/main/java/javax/transaction/TransactionScoped.java index d2b75e7..9c2b342 100644 --- a/api/src/main/java/javax/transaction/TransactionScoped.java +++ b/api/src/main/java/javax/transaction/TransactionScoped.java @@ -25,9 +25,9 @@ /** *

The javax.transaction.TransactionScoped annotation provides the ability to * specify a standard CDI scope to define bean instances whose lifecycle is - * scoped to the currently active JTA transaction. This annotation has no effect + * scoped to the currently active Jakarta Transactions transaction. This annotation has no effect * on classes which have non-contextual references such those defined as managed - * beans by the Java EE specification.

+ * beans by the Jakarta EE specification.

* The transaction scope is active when the return from a call to * UserTransaction.getStatus or * TransactionManager.getStatus @@ -45,19 +45,19 @@ * TransactionScoped annotation should also apply to its use in relation to * transaction context, lifecycle, etc. mentioned elsewhere in this * specification. The object with this annotation will be associated with the - * current active JTA transaction when the object is used. This association must + * current active Jakarta Transactions transaction when the object is used. This association must * be retained through any transaction suspend or resume calls as well as any * Synchronization.beforeCompletion callbacks. Any * Synchronization.afterCompletion methods will be invoked in an undefined - * context. The way in which the JTA transaction is begun and completed + * context. The way in which the Jakarta Transactions transaction is begun and completed * (for example via UserTransaction, Transactional interceptor, etc.) is of no consequence. - * The contextual references used across different JTA transactions are distinct. + * The contextual references used across different Jakarta Transactions transactions are distinct. * Refer to the CDI specification for more details on contextual references. * A javax.enterprise.context.ContextNotActiveException * will be thrown if an object with this annotation is used when the * transaction context is not active.

* - * @since JTA1.2 + * @since 1.2 */ @Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD}) diff --git a/api/src/main/java/javax/transaction/TransactionSynchronizationRegistry.java b/api/src/main/java/javax/transaction/TransactionSynchronizationRegistry.java index 01613cb..e2a799c 100644 --- a/api/src/main/java/javax/transaction/TransactionSynchronizationRegistry.java +++ b/api/src/main/java/javax/transaction/TransactionSynchronizationRegistry.java @@ -19,7 +19,7 @@ /** * This interface is intended for use by system level application server * components such as persistence managers, resource adapters, as well as - * EJB and Web application components. This provides the ability to + * Jakarta Enterprise Beans and Web application components. This provides the ability to * register synchronization objects with special ordering semantics, * associate resource objects with the current transaction, get the * transaction context of the current transaction, get current transaction @@ -33,7 +33,7 @@ * implementing this interface can be looked up by a standard name via JNDI. * The standard name is java:comp/TransactionSynchronizationRegistry. * - * @since JTA 1.1 + * @since 1.1 */ public interface TransactionSynchronizationRegistry { @@ -61,7 +61,7 @@ public interface TransactionSynchronizationRegistry { * @return an opaque object representing the transaction bound to the * current thread at the time this method is called. * - * @since JTA 1.1 + * @since 1.1 */ Object getTransactionKey(); @@ -83,7 +83,7 @@ public interface TransactionSynchronizationRegistry { * @exception IllegalStateException if no transaction is active. * @exception NullPointerException if the parameter key is null. * - * @since JTA 1.1 + * @since 1.1 */ void putResource(Object key, Object value); @@ -104,7 +104,7 @@ public interface TransactionSynchronizationRegistry { * @exception IllegalStateException if no transaction is active. * @exception NullPointerException if the parameter key is null. * - * @since JTA 1.1 + * @since 1.1 */ Object getResource(Object key); @@ -143,7 +143,7 @@ public interface TransactionSynchronizationRegistry { * @param sync the Synchronization instance. * @exception IllegalStateException if no transaction is active. * - * @since JTA 1.1 + * @since 1.1 */ void registerInterposedSynchronization(Synchronization sync); @@ -157,7 +157,7 @@ public interface TransactionSynchronizationRegistry { * @return the status of the transaction bound to the current thread * at the time this method is called. * - * @since JTA 1.1 + * @since 1.1 */ int getTransactionStatus(); @@ -167,7 +167,7 @@ public interface TransactionSynchronizationRegistry { * * @exception IllegalStateException if no transaction is active. * - * @since JTA 1.1 + * @since 1.1 */ void setRollbackOnly(); @@ -178,7 +178,7 @@ public interface TransactionSynchronizationRegistry { * @return the rollbackOnly status. * @exception IllegalStateException if no transaction is active. * - * @since JTA 1.1 + * @since 1.1 */ boolean getRollbackOnly(); } diff --git a/api/src/main/java/javax/transaction/Transactional.java b/api/src/main/java/javax/transaction/Transactional.java index e0a5caf..cb43244 100644 --- a/api/src/main/java/javax/transaction/Transactional.java +++ b/api/src/main/java/javax/transaction/Transactional.java @@ -23,9 +23,9 @@ /** *

The javax.transaction.Transactional annotation provides the application * the ability to declaratively control transaction boundaries on CDI managed beans, as - * well as classes defined as managed beans by the Java EE specification, at both the class + * well as classes defined as managed beans by the Jakarta EE specification, at both the class * and method level where method level annotations override those at the class level.

- *

See the EJB specification for restrictions on the use of @Transactional with EJBs.

+ *

See the Jakarta Enterprise Beans specification for restrictions on the use of @Transactional with Jakarta Enterprise Beans.

*

This support is provided via an implementation of CDI interceptors that conduct the * necessary suspending, resuming, etc. The Transactional interceptor interposes on business method * invocations only and not on lifecycle events. Lifecycle methods are invoked in an unspecified @@ -52,7 +52,7 @@ *

When a class is specified for either of these elements, the designated behavior applies to subclasses * of that class as well. If both elements are specified, dontRollbackOn takes precedence.

* - * @since JTA1.2 + * @since 1.2 */ @Inherited @InterceptorBinding @@ -74,7 +74,7 @@ public enum TxType { /** *

If called outside a transaction context, the interceptor must begin a new - * JTA transaction, the managed bean method execution must then continue + * Jakarta Transactions transaction, the managed bean method execution must then continue * inside this transaction context, and the transaction must be completed by * the interceptor.

*

If called inside a transaction context, the managed bean @@ -84,11 +84,11 @@ public enum TxType { /** *

If called outside a transaction context, the interceptor must begin a new - * JTA transaction, the managed bean method execution must then continue + * Jakarta Transactions transaction, the managed bean method execution must then continue * inside this transaction context, and the transaction must be completed by * the interceptor.

*

If called inside a transaction context, the current transaction context must - * be suspended, a new JTA transaction will begin, the managed bean method + * be suspended, a new Jakarta Transactions transaction will begin, the managed bean method * execution must then continue inside this transaction context, the transaction * must be completed, and the previously suspended transaction must be resumed.

*/ diff --git a/api/src/main/java/javax/transaction/TransactionalException.java b/api/src/main/java/javax/transaction/TransactionalException.java index b3ededc..d8a8ba4 100644 --- a/api/src/main/java/javax/transaction/TransactionalException.java +++ b/api/src/main/java/javax/transaction/TransactionalException.java @@ -30,7 +30,7 @@ * Transactional(TxType.NEVER), the transaction begun by the first bean * will be marked for rollback. * - * @since JTA1.2 + * @since 1.2 */ public class TransactionalException extends RuntimeException { /**