spring-framework / org.springframework.transaction.support / ResourceHolderSynchronization

ResourceHolderSynchronization

abstract class ResourceHolderSynchronization<H : ResourceHolder, K : Any> : TransactionSynchronization

TransactionSynchronization implementation that manages a ResourceHolder bound through TransactionSynchronizationManager.

Author
Juergen Hoeller

Since
2.5.5

Constructors

<init>

ResourceHolderSynchronization(resourceHolder: H, resourceKey: K)

Create a new ResourceHolderSynchronization for the given holder.

Functions

afterCommit

open fun afterCommit(): Unit

afterCompletion

open fun afterCompletion(status: Int): Unit

beforeCommit

open fun beforeCommit(readOnly: Boolean): Unit

beforeCompletion

open fun beforeCompletion(): Unit

flush

open fun flush(): Unit

resume

open fun resume(): Unit

suspend

open fun suspend(): Unit