Polishing
This commit is contained in:
@@ -68,8 +68,7 @@ public interface PlatformTransactionManager extends TransactionManager {
|
||||
* @see TransactionDefinition#getTimeout
|
||||
* @see TransactionDefinition#isReadOnly
|
||||
*/
|
||||
TransactionStatus getTransaction(@Nullable TransactionDefinition definition)
|
||||
throws TransactionException;
|
||||
TransactionStatus getTransaction(@Nullable TransactionDefinition definition) throws TransactionException;
|
||||
|
||||
/**
|
||||
* Commit the given transaction, with regard to its status. If the transaction
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package org.springframework.transaction;
|
||||
|
||||
/**
|
||||
* Representation of an ongoing reactive transaction.
|
||||
* Representation of an ongoing {@link ReactiveTransactionManager} transaction.
|
||||
* This is currently a marker interface extending {@link TransactionExecution}
|
||||
* but may acquire further methods in a future revision.
|
||||
*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -19,7 +19,8 @@ package org.springframework.transaction;
|
||||
import java.io.Flushable;
|
||||
|
||||
/**
|
||||
* Representation of the status of a transaction.
|
||||
* Representation of an ongoing {@link PlatformTransactionManager} transaction.
|
||||
* Extends the common {@link TransactionExecution} interface.
|
||||
*
|
||||
* <p>Transactional code can use this to retrieve status information,
|
||||
* and to programmatically request a rollback (instead of throwing
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2013 the original author or authors.
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -23,13 +23,13 @@ import java.io.Flushable;
|
||||
* return an internal rollback-only marker, typically from another
|
||||
* transaction that has participated and marked it as rollback-only.
|
||||
*
|
||||
* <p>Autodetected by DefaultTransactionStatus, to always return a
|
||||
* current rollbackOnly flag even if not resulting from the current
|
||||
* <p>Autodetected by {@link DefaultTransactionStatus} in order to always
|
||||
* return a current rollbackOnly flag even if not resulting from the current
|
||||
* TransactionStatus.
|
||||
*
|
||||
* @author Juergen Hoeller
|
||||
* @since 1.1
|
||||
* @see DefaultTransactionStatus#isRollbackOnly
|
||||
* @see DefaultTransactionStatus#isGlobalRollbackOnly()
|
||||
*/
|
||||
public interface SmartTransactionObject extends Flushable {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user