A simple
org.springframework.transaction.TransactionStatus implementation.
Derives from
AbstractTransactionStatus and adds an explicit
SimpleTransactionStatus.isNewTransaction() "newTransaction" flag.
This class is not used by any of Spring's pre-built
org.springframework.transaction.PlatformTransactionManager implementations. It is mainly provided as a start for custom transaction
manager implementations and as a static mock for testing transactional
code (either as part of a mock PlatformTransactionManager or
as argument passed into a
TransactionCallback to be tested).
author: Juergen Hoeller since: 1.2.3 See Also: SimpleTransactionStatus.SimpleTransactionStatus(boolean) See Also: TransactionCallback |