Package org.springframework.transaction
Interface ConfigurableTransactionManager
- All Superinterfaces:
TransactionManager
- All Known Implementing Classes:
AbstractPlatformTransactionManager
,AbstractReactiveTransactionManager
,DataSourceTransactionManager
,HibernateTransactionManager
,JdbcTransactionManager
,JmsTransactionManager
,JpaTransactionManager
,JtaTransactionManager
,R2dbcTransactionManager
Common configuration interface for transaction manager implementations.
Provides registration facilities for
TransactionExecutionListener
.- Since:
- 6.1
- Author:
- Juergen Hoeller
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addListener
(TransactionExecutionListener listener) Conveniently register the given listener for begin/commit/rollback callbacks from this transaction manager.Return the registered transaction execution listeners for this transaction manager.void
Set the transaction execution listeners for begin/commit/rollback callbacks from this transaction manager.
-
Method Details
-
setTransactionExecutionListeners
Set the transaction execution listeners for begin/commit/rollback callbacks from this transaction manager. -
getTransactionExecutionListeners
Collection<TransactionExecutionListener> getTransactionExecutionListeners()Return the registered transaction execution listeners for this transaction manager. -
addListener
Conveniently register the given listener for begin/commit/rollback callbacks from this transaction manager.- See Also:
-