Remove duplicate words in documentation and polish Javadoc
This commit is contained in:
@@ -914,7 +914,7 @@ public class JtaTransactionManager extends AbstractPlatformTransactionManager
|
||||
* Apply the given transaction timeout. The default implementation will call
|
||||
* {@code UserTransaction.setTransactionTimeout} for a non-default timeout value.
|
||||
* @param txObject the JtaTransactionObject containing the UserTransaction
|
||||
* @param timeout timeout value taken from transaction definition
|
||||
* @param timeout the timeout value taken from transaction definition
|
||||
* @throws SystemException if thrown by the JTA implementation
|
||||
* @see #doJtaBegin
|
||||
* @see JtaTransactionObject#getUserTransaction()
|
||||
|
||||
@@ -735,7 +735,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
|
||||
* <p>The default implementation returns {@code false}, assuming that
|
||||
* participating in existing transactions is generally not supported.
|
||||
* Subclasses are of course encouraged to provide such support.
|
||||
* @param transaction transaction object returned by doGetTransaction
|
||||
* @param transaction the transaction object returned by doGetTransaction
|
||||
* @return if there is an existing transaction
|
||||
* @throws TransactionException in case of system errors
|
||||
* @see #doGetTransaction
|
||||
@@ -756,7 +756,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
|
||||
* active transaction: The implementation of this method has to detect this and
|
||||
* start an appropriate nested transaction.
|
||||
* @param synchronizationManager the synchronization manager bound to the new transaction
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @param definition a TransactionDefinition instance, describing propagation
|
||||
* behavior, isolation level, read-only flag, timeout, and transaction name
|
||||
* @throws TransactionException in case of creation or system errors
|
||||
@@ -772,7 +772,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
|
||||
* <p>The default implementation throws a TransactionSuspensionNotSupportedException,
|
||||
* assuming that transaction suspension is generally not supported.
|
||||
* @param synchronizationManager the synchronization manager bound to the current transaction
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @return an object that holds suspended resources
|
||||
* (will be kept unexamined for passing it into doResume)
|
||||
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException if suspending is not supported by the transaction manager implementation
|
||||
@@ -792,7 +792,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
|
||||
* <p>The default implementation throws a TransactionSuspensionNotSupportedException,
|
||||
* assuming that transaction suspension is generally not supported.
|
||||
* @param synchronizationManager the synchronization manager bound to the current transaction
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @param suspendedResources the object that holds suspended resources,
|
||||
* as returned by doSuspend
|
||||
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException if resuming is not supported by the transaction manager implementation
|
||||
@@ -876,7 +876,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
|
||||
* immediately, passing in "STATUS_UNKNOWN". This is the best we can do if there's no
|
||||
* chance to determine the actual outcome of the outer transaction.
|
||||
* @param synchronizationManager the synchronization manager bound to the current transaction
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @param synchronizations a List of TransactionSynchronization objects
|
||||
* @throws TransactionException in case of system errors
|
||||
* @see #invokeAfterCompletion(TransactionSynchronizationManager, List, int)
|
||||
@@ -897,7 +897,7 @@ public abstract class AbstractReactiveTransactionManager implements ReactiveTran
|
||||
* on any outcome. The default implementation does nothing.
|
||||
* <p>Should not throw any exceptions but just issue warnings on errors.
|
||||
* @param synchronizationManager the synchronization manager bound to the current transaction
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
*/
|
||||
protected Mono<Void> doCleanupAfterCompletion(TransactionSynchronizationManager synchronizationManager,
|
||||
Object transaction) {
|
||||
|
||||
@@ -1051,7 +1051,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||
* <p>The default implementation returns {@code false}, assuming that
|
||||
* participating in existing transactions is generally not supported.
|
||||
* Subclasses are of course encouraged to provide such support.
|
||||
* @param transaction transaction object returned by doGetTransaction
|
||||
* @param transaction the transaction object returned by doGetTransaction
|
||||
* @return if there is an existing transaction
|
||||
* @throws TransactionException in case of system errors
|
||||
* @see #doGetTransaction
|
||||
@@ -1092,7 +1092,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||
* will be called to start a nested transaction when necessary. In such a context,
|
||||
* there will be an active transaction: The implementation of this method has
|
||||
* to detect this and start an appropriate nested transaction.
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @param definition a TransactionDefinition instance, describing propagation
|
||||
* behavior, isolation level, read-only flag, timeout, and transaction name
|
||||
* @throws TransactionException in case of creation or system errors
|
||||
@@ -1107,7 +1107,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||
* Transaction synchronization will already have been suspended.
|
||||
* <p>The default implementation throws a TransactionSuspensionNotSupportedException,
|
||||
* assuming that transaction suspension is generally not supported.
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @return an object that holds suspended resources
|
||||
* (will be kept unexamined for passing it into doResume)
|
||||
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException
|
||||
@@ -1125,7 +1125,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||
* Transaction synchronization will be resumed afterwards.
|
||||
* <p>The default implementation throws a TransactionSuspensionNotSupportedException,
|
||||
* assuming that transaction suspension is generally not supported.
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @param suspendedResources the object that holds suspended resources,
|
||||
* as returned by doSuspend
|
||||
* @throws org.springframework.transaction.TransactionSuspensionNotSupportedException
|
||||
@@ -1229,7 +1229,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||
* <p>The default implementation simply invokes the {@code afterCompletion} methods
|
||||
* immediately, passing in "STATUS_UNKNOWN". This is the best we can do if there's no
|
||||
* chance to determine the actual outcome of the outer transaction.
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
* @param synchronizations a List of TransactionSynchronization objects
|
||||
* @throws TransactionException in case of system errors
|
||||
* @see #invokeAfterCompletion(java.util.List, int)
|
||||
@@ -1249,7 +1249,7 @@ public abstract class AbstractPlatformTransactionManager implements PlatformTran
|
||||
* <p>Called after {@code doCommit} and {@code doRollback} execution,
|
||||
* on any outcome. The default implementation does nothing.
|
||||
* <p>Should not throw any exceptions but just issue warnings on errors.
|
||||
* @param transaction transaction object returned by {@code doGetTransaction}
|
||||
* @param transaction the transaction object returned by {@code doGetTransaction}
|
||||
*/
|
||||
protected void doCleanupAfterCompletion(Object transaction) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user