Uses of Interface
org.springframework.transaction.support.TransactionSynchronization
Package
Description
Package providing integration of
Hibernate 5.x
with Spring concepts.
Transaction SPI implementation for JTA.
Support classes for the org.springframework.transaction package.
-
Uses of TransactionSynchronization in org.springframework.orm.hibernate5
Modifier and TypeClassDescriptionclass
Simple synchronization adapter that propagates aflush()
call to the underlying Hibernate Session.class
Callback for resource cleanup at the end of a Spring-managed transaction for a pre-bound Hibernate Session. -
Uses of TransactionSynchronization in org.springframework.transaction.jta
Modifier and TypeMethodDescriptionprotected void
JtaTransactionManager.doRegisterAfterCompletionWithJtaTransaction
(JtaTransactionObject txObject, List<TransactionSynchronization> synchronizations) Register a JTA synchronization on the JTA TransactionManager, for callingafterCompletion
on the given Spring TransactionSynchronizations.protected void
JtaTransactionManager.registerAfterCompletionWithExistingTransaction
(Object transaction, List<TransactionSynchronization> synchronizations) ModifierConstructorDescriptionSpringJtaSynchronizationAdapter
(TransactionSynchronization springSynchronization) Create a new SpringJtaSynchronizationAdapter for the given Spring TransactionSynchronization and JTA TransactionManager.SpringJtaSynchronizationAdapter
(TransactionSynchronization springSynchronization, TransactionManager jtaTransactionManager) Create a new SpringJtaSynchronizationAdapter for the given Spring TransactionSynchronization and JTA TransactionManager.SpringJtaSynchronizationAdapter
(TransactionSynchronization springSynchronization, UserTransaction jtaUserTransaction) Create a new SpringJtaSynchronizationAdapter for the given Spring TransactionSynchronization and JTA TransactionManager.ModifierConstructorDescriptionJtaAfterCompletionSynchronization
(List<TransactionSynchronization> synchronizations) Create a new JtaAfterCompletionSynchronization for the given synchronization objects. -
Uses of TransactionSynchronization in org.springframework.transaction.support
Modifier and TypeClassDescriptionclass
ResourceHolderSynchronization<H extends ResourceHolder,
K> TransactionSynchronization
implementation that manages aResourceHolder
bound throughTransactionSynchronizationManager
.class
Deprecated.Modifier and TypeMethodDescriptionstatic List<TransactionSynchronization>
TransactionSynchronizationManager.getSynchronizations()
Return an unmodifiable snapshot list of all registered synchronizations for the current thread.Modifier and TypeMethodDescriptionstatic void
TransactionSynchronizationManager.registerSynchronization
(TransactionSynchronization synchronization) Register a new transaction synchronization for the current thread.Modifier and TypeMethodDescriptionstatic void
TransactionSynchronizationUtils.invokeAfterCommit
(List<TransactionSynchronization> synchronizations) Actually invoke theafterCommit
methods of the given Spring TransactionSynchronization objects.protected final void
AbstractPlatformTransactionManager.invokeAfterCompletion
(List<TransactionSynchronization> synchronizations, int completionStatus) Actually invoke theafterCompletion
methods of the given Spring TransactionSynchronization objects.static void
TransactionSynchronizationUtils.invokeAfterCompletion
(List<TransactionSynchronization> synchronizations, int completionStatus) Actually invoke theafterCompletion
methods of the given Spring TransactionSynchronization objects.protected void
AbstractPlatformTransactionManager.registerAfterCompletionWithExistingTransaction
(Object transaction, List<TransactionSynchronization> synchronizations) Register the given list of transaction synchronizations with the existing transaction.
TransactionSynchronization
interface