Uses of Enum Class
org.springframework.transaction.event.TransactionPhase
Package
Description
Spring's support for listening to transaction events.
-
Uses of TransactionPhase in org.springframework.transaction.event
Modifier and TypeMethodDescriptiondefault TransactionPhase
TransactionalApplicationListener.getTransactionPhase()
Return theTransactionPhase
in which the listener will be invoked.TransactionalApplicationListenerAdapter.getTransactionPhase()
Return the transaction phase to invoke the listener in.TransactionalApplicationListenerMethodAdapter.getTransactionPhase()
static TransactionPhase
Returns the enum constant of this class with the specified name.static TransactionPhase[]
TransactionPhase.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic <T> TransactionalApplicationListener<PayloadApplicationEvent<T>>
TransactionalApplicationListener.forPayload
(TransactionPhase phase, Consumer<T> consumer) Create a newTransactionalApplicationListener
for the given payload consumer.void
TransactionalApplicationListenerAdapter.setTransactionPhase
(TransactionPhase transactionPhase) Specify the transaction phase to invoke the listener in.