Uses of Class
org.springframework.transaction.reactive.TransactionSynchronizationManager
Packages that use TransactionSynchronizationManager
Package
Description
Support classes for reactive transaction management.
-
Uses of TransactionSynchronizationManager in org.springframework.transaction.reactive
Methods in org.springframework.transaction.reactive that return types with arguments of type TransactionSynchronizationManagerModifier and TypeMethodDescriptionTransactionSynchronizationManager.forCurrentTransaction()Get theTransactionSynchronizationManagerthat is associated with the current transaction context.Methods in org.springframework.transaction.reactive with parameters of type TransactionSynchronizationManagerModifier and TypeMethodDescriptionAbstractReactiveTransactionManager.doBegin(TransactionSynchronizationManager synchronizationManager, Object transaction, TransactionDefinition definition) Begin a new transaction with semantics according to the given transaction definition.AbstractReactiveTransactionManager.doCleanupAfterCompletion(TransactionSynchronizationManager synchronizationManager, Object transaction) Cleanup resources after transaction completion.AbstractReactiveTransactionManager.doCommit(TransactionSynchronizationManager synchronizationManager, GenericReactiveTransaction status) Perform an actual commit of the given transaction.protected abstract ObjectAbstractReactiveTransactionManager.doGetTransaction(TransactionSynchronizationManager synchronizationManager) Return a transaction object for the current transaction state.AbstractReactiveTransactionManager.doResume(TransactionSynchronizationManager synchronizationManager, @Nullable Object transaction, Object suspendedResources) Resume the resources of the current transaction.AbstractReactiveTransactionManager.doRollback(TransactionSynchronizationManager synchronizationManager, GenericReactiveTransaction status) Perform an actual rollback of the given transaction.AbstractReactiveTransactionManager.doSetRollbackOnly(TransactionSynchronizationManager synchronizationManager, GenericReactiveTransaction status) Set the given transaction rollback-only.AbstractReactiveTransactionManager.doSuspend(TransactionSynchronizationManager synchronizationManager, Object transaction) Suspend the resources of the current transaction.AbstractReactiveTransactionManager.prepareForCommit(TransactionSynchronizationManager synchronizationManager, GenericReactiveTransaction status) Make preparations for commit, to be performed before thebeforeCommitsynchronization callbacks occur.AbstractReactiveTransactionManager.registerAfterCompletionWithExistingTransaction(TransactionSynchronizationManager synchronizationManager, Object transaction, List<TransactionSynchronization> synchronizations) Register the given list of transaction synchronizations with the existing transaction.Constructors in org.springframework.transaction.reactive with parameters of type TransactionSynchronizationManagerModifierConstructorDescriptionReactiveResourceSynchronization(O resourceObject, K resourceKey, TransactionSynchronizationManager synchronizationManager) Create a new ReactiveResourceSynchronization for the given holder.