# Package org.springframework.transaction.support

@NonNullApi @NonNullFields package org.springframework.transaction.support
Support classes for the org.springframework.transaction package. Provides an abstract base class for transaction manager implementations, and a template plus callback for transaction demarcation.

Related Packages
Package
Description
org.springframework.transaction
Spring's core transaction management APIs (independent of any specific transaction management system); an exception hierarchy for Spring's transaction infrastructure; and transaction manager, definition, and status interfaces.
Class
Description
AbstractPlatformTransactionManager
Abstract base class that implements Spring's standard transaction workflow, serving as basis for concrete platform transaction managers like `JtaTransactionManager`.
AbstractPlatformTransactionManager.SuspendedResourcesHolder
Holder for suspended resources.
AbstractTransactionStatus
Abstract base implementation of the `TransactionStatus` interface.
CallbackPreferringPlatformTransactionManager
Extension of the `PlatformTransactionManager` interface, exposing a method for executing a given callback within a transaction.
DefaultTransactionDefinition
Default implementation of the `TransactionDefinition` interface, offering bean-style configuration and sensible default values (PROPAGATION_REQUIRED, ISOLATION_DEFAULT, TIMEOUT_DEFAULT, readOnly=false).
DefaultTransactionStatus
Default implementation of the `TransactionStatus` interface, used by `AbstractPlatformTransactionManager`.
DelegatingTransactionDefinition
`TransactionDefinition` implementation that delegates all calls to a given target `TransactionDefinition` instance.
ResourceHolder
Generic interface to be implemented by resource holders.
ResourceHolderSupport
Convenient base class for resource holders.
ResourceHolderSynchronization<H extends ResourceHolder,K>
`TransactionSynchronization` implementation that manages a `ResourceHolder` bound through `TransactionSynchronizationManager`.
ResourceTransactionDefinition
Extended variant of `TransactionDefinition`, indicating a resource transaction and in particular whether the transactional resource is ready for local optimizations.
ResourceTransactionManager
Extension of the `PlatformTransactionManager` interface, indicating a native resource transaction manager, operating on a single target resource.
SimpleTransactionScope
A simple transaction-backed `Scope` implementation, delegating to `TransactionSynchronizationManager`'s resource binding mechanism.
SimpleTransactionStatus
A simple `TransactionStatus` implementation.
SmartTransactionObject
Interface to be implemented by transaction objects that are able to return an internal rollback-only marker, typically from another transaction that has participated and marked it as rollback-only.
TransactionCallback<T>
Callback interface for transactional code.
TransactionCallbackWithoutResult
Simple convenience class for TransactionCallback implementation.
TransactionOperations
Interface specifying basic transaction execution operations.
TransactionSynchronization
Interface for transaction synchronization callbacks.
TransactionSynchronizationAdapter
Deprecated.
as of 5.3, in favor of the default methods on the `TransactionSynchronization` interface
TransactionSynchronizationManager
Central delegate that manages resources and transaction synchronizations per thread.
TransactionSynchronizationUtils
Utility methods for triggering specific `TransactionSynchronization` callback methods on all currently registered synchronizations.
TransactionTemplate
Template class that simplifies programmatic transaction demarcation and transaction exception handling.