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