Top Description Methods
org.springframework.transaction

public Interface ConfigurableTransactionManager

extends TransactionManager
Known Direct Implementers
org.springframework.transaction.reactive.AbstractReactiveTransactionManager, org.springframework.transaction.support.AbstractPlatformTransactionManager
Imports
java.util.Collection

Common configuration interface for transaction manager implementations. Provides registration facilities for TransactionExecutionListener.
Author
Juergen Hoeller
Since
6.1
See Also
PlatformTransactionManager, ReactiveTransactionManager

Method Summary

Modifier and TypeMethod and Description
public default void
addListener(TransactionExecutionListener listener)

Conveniently register the given listener for begin/commit/rollback callbacks from this transaction manager.

public Collection<TransactionExecutionListener>
getTransactionExecutionListeners()

Return the registered transaction execution listeners for this transaction manager.

public void
setTransactionExecutionListeners(Collection<TransactionExecutionListener> listeners)

Set the transaction execution listeners for begin/commit/rollback callbacks from this transaction manager.

Method Detail

addListenerback to summary
public default void addListener(TransactionExecutionListener listener)

Conveniently register the given listener for begin/commit/rollback callbacks from this transaction manager.

See Also
getTransactionExecutionListeners()
getTransactionExecutionListenersback to summary
public Collection<TransactionExecutionListener> getTransactionExecutionListeners()

Return the registered transaction execution listeners for this transaction manager.

See Also
setTransactionExecutionListeners
setTransactionExecutionListenersback to summary
public void setTransactionExecutionListeners(Collection<TransactionExecutionListener> listeners)

Set the transaction execution listeners for begin/commit/rollback callbacks from this transaction manager.

See Also
addListener