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.

Interfaces

CallbackPreferringPlatformTransactionManager Extension of the PlatformTransactionManager interface, exposing a method for executing a given callback within a transaction. 
ResourceHolder Generic interface to be implemented by resource holders. 
ResourceTransactionManager Extension of the PlatformTransactionManager interface, indicating a native resource transaction manager, operating on a single target resource. 
SmartTransactionObject Interface to be implemented by transaction objects that are able to return an internal rollback-only marker, typically from a another transaction that has participated and marked it as rollback-only. 
TransactionCallback<T> Callback interface for transactional code. 
TransactionOperations Interface specifying basic transaction execution operations. 
TransactionSynchronization Interface for transaction synchronization callbacks. 

Classes

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. 
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. 
ResourceHolderSupport Convenient base class for resource holders. 
ResourceHolderSynchronization<H extends ResourceHolder, K> TransactionSynchronization implementation that manages a ResourceHolder bound through TransactionSynchronizationManager
SimpleTransactionStatus A simple TransactionStatus implementation. 
TransactionCallbackWithoutResult Simple convenience class for TransactionCallback implementation. 
TransactionSynchronizationAdapter Simple TransactionSynchronization adapter containing empty method implementations, for easier overriding of single methods. 
TransactionSynchronizationManager Central helper 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.