Package | Description |
---|---|
org.springframework.orm.hibernate5 |
Package providing integration of
Hibernate 5.x
with Spring concepts.
|
org.springframework.transaction.jta |
Transaction SPI implementation for JTA.
|
org.springframework.transaction.support |
Support classes for the org.springframework.transaction package.
|
Modifier and Type | Class and Description |
---|---|
class |
SpringFlushSynchronization
Simple synchronization adapter that propagates a
flush() call
to the underlying Hibernate Session. |
class |
SpringSessionSynchronization
Callback for resource cleanup at the end of a Spring-managed transaction
for a pre-bound Hibernate Session.
|
Modifier and Type | Method and Description |
---|---|
protected void |
JtaTransactionManager.doRegisterAfterCompletionWithJtaTransaction(JtaTransactionObject txObject,
List<TransactionSynchronization> synchronizations)
Register a JTA synchronization on the JTA TransactionManager, for calling
afterCompletion on the given Spring TransactionSynchronizations. |
protected void |
WebSphereUowTransactionManager.doRegisterAfterCompletionWithJtaTransaction(JtaTransactionObject txObject,
List<TransactionSynchronization> synchronizations)
Registers the synchronizations as interposed JTA Synchronization on the UOWManager.
|
protected void |
JtaTransactionManager.registerAfterCompletionWithExistingTransaction(Object transaction,
List<TransactionSynchronization> synchronizations) |
Constructor and Description |
---|
SpringJtaSynchronizationAdapter(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.
|
Constructor and Description |
---|
JtaAfterCompletionSynchronization(List<TransactionSynchronization> synchronizations)
Create a new JtaAfterCompletionSynchronization for the given synchronization objects.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceHolderSynchronization<H extends ResourceHolder,K>
TransactionSynchronization implementation that manages a
ResourceHolder bound through TransactionSynchronizationManager . |
class |
TransactionSynchronizationAdapter
Simple
TransactionSynchronization adapter containing empty
method implementations, for easier overriding of single methods. |
Modifier and Type | Method and Description |
---|---|
static List<TransactionSynchronization> |
TransactionSynchronizationManager.getSynchronizations()
Return an unmodifiable snapshot list of all registered synchronizations
for the current thread.
|
Modifier and Type | Method and Description |
---|---|
static void |
TransactionSynchronizationManager.registerSynchronization(TransactionSynchronization synchronization)
Register a new transaction synchronization for the current thread.
|
Modifier and Type | Method and Description |
---|---|
static void |
TransactionSynchronizationUtils.invokeAfterCommit(List<TransactionSynchronization> synchronizations)
Actually invoke the
afterCommit methods of the
given Spring TransactionSynchronization objects. |
protected void |
AbstractPlatformTransactionManager.invokeAfterCompletion(List<TransactionSynchronization> synchronizations,
int completionStatus)
Actually invoke the
afterCompletion methods of the
given Spring TransactionSynchronization objects. |
static void |
TransactionSynchronizationUtils.invokeAfterCompletion(List<TransactionSynchronization> synchronizations,
int completionStatus)
Actually invoke the
afterCompletion 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.
|