Skip to content

Commit

Permalink
Update text files with Jakarta project names
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjenkinson committed Dec 11, 2019
1 parent 54dd8ac commit ef31aee
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions 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.
Expand Down
6 changes: 3 additions & 3 deletions 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

Expand Down
6 changes: 3 additions & 3 deletions 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.
12 changes: 6 additions & 6 deletions api/pom.xml
Expand Up @@ -38,7 +38,7 @@
<findbugs.threshold>Low</findbugs.threshold>
</properties>
<name>${extension.name} API</name>
<description>Eclipse Project for JTA</description>
<description>Jakarta Transactions</description>
<url>https://projects.eclipse.org/projects/ee4j.jta</url>

<developers>
Expand Down Expand Up @@ -74,7 +74,7 @@
</issueManagement>
<mailingLists>
<mailingList>
<name>JTA mailing list</name>
<name>Jakarta Transactions mailing list</name>
<post>jta-dev@eclipse.org</post>
<subscribe>https://dev.eclipse.org/mailman/listinfo/jta-dev</subscribe>
<unsubscribe>https://dev.eclipse.org/mailman/listinfo/jta-dev</unsubscribe>
Expand Down Expand Up @@ -152,7 +152,7 @@
<Implementation-Version>${spec.implementation.version}</Implementation-Version>
<Specification-Version>${spec.specification.version}</Specification-Version>
<Bundle-Description>
Java(TM) JTA ${spec.version} API Design Specification
Jakarta(TM) Transactions ${spec.version} API Design Specification
</Bundle-Description>
<Specification-Vendor>Oracle Corporation</Specification-Vendor>
<Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
Expand Down Expand Up @@ -239,13 +239,13 @@
<configuration>
<author>false</author>
<description>
Java Transaction API documentation
Jakarta Transactions documentation
</description>
<doctitle>
Java Transaction API documentation
Jakarta Transactions documentation
</doctitle>
<windowtitle>
Java Transaction API documentation
Jakarta Transactions documentation
</windowtitle>
<splitindex>true</splitindex>
<use>true</use>
Expand Down
12 changes: 6 additions & 6 deletions api/src/main/java/javax/transaction/TransactionScoped.java
Expand Up @@ -25,9 +25,9 @@
/**
* <p>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.</p>
* beans by the Jakarta EE specification.</p>
* The transaction scope is active when the return from a call to
* <code>UserTransaction.getStatus</code> or
* <code>TransactionManager.getStatus</code>
Expand All @@ -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
* <code>Synchronization.beforeCompletion</code> callbacks. Any
* <code>Synchronization.afterCompletion</code> 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 <code>javax.enterprise.context.ContextNotActiveException</code>
* will be thrown if an object with this annotation is used when the
* transaction context is not active.</p>
*
* @since JTA1.2
* @since 1.2
*/
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
Expand Down
Expand Up @@ -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
Expand All @@ -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 {

Expand Down Expand Up @@ -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();

Expand All @@ -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);

Expand All @@ -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);

Expand Down Expand Up @@ -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);

Expand All @@ -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();

Expand All @@ -167,7 +167,7 @@ public interface TransactionSynchronizationRegistry {
*
* @exception IllegalStateException if no transaction is active.
*
* @since JTA 1.1
* @since 1.1
*/
void setRollbackOnly();

Expand All @@ -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();
}
12 changes: 6 additions & 6 deletions api/src/main/java/javax/transaction/Transactional.java
Expand Up @@ -23,9 +23,9 @@
/**
* <p>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.</p>
* <p>See the EJB specification for restrictions on the use of @Transactional with EJBs.</p>
* <p>See the Jakarta Enterprise Beans specification for restrictions on the use of @Transactional with Jakarta Enterprise Beans.</p>
* <p>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
Expand All @@ -52,7 +52,7 @@
* <p>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.</p>
*
* @since JTA1.2
* @since 1.2
*/
@Inherited
@InterceptorBinding
Expand All @@ -74,7 +74,7 @@
public enum TxType {
/**
* <p>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.</p>
* <p>If called inside a transaction context, the managed bean
Expand All @@ -84,11 +84,11 @@ public enum TxType {

/**
* <p>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.</p>
* <p>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.</p>
*/
Expand Down
Expand Up @@ -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 {
/**
Expand Down

0 comments on commit ef31aee

Please sign in to comment.