Uses of Interface
org.springframework.transaction.event.TransactionalApplicationListener
Packages that use TransactionalApplicationListener
Package
Description
Spring's support for listening to transaction events.
-
Uses of TransactionalApplicationListener in org.springframework.transaction.event
Classes in org.springframework.transaction.event that implement TransactionalApplicationListenerModifier and TypeClassDescriptionclass
TransactionalApplicationListener
adapter that delegates the processing of an event to a targetApplicationListener
instance.class
GenericApplicationListener
adapter that delegates the processing of an event to aTransactionalEventListener
annotated method.Methods in org.springframework.transaction.event that return TransactionalApplicationListenerModifier and TypeMethodDescriptionstatic <T> TransactionalApplicationListener<PayloadApplicationEvent<T>>
TransactionalApplicationListener.forPayload
(Consumer<T> consumer) Create a newTransactionalApplicationListener
for the given payload consumer, to be applied in the default phaseTransactionPhase.AFTER_COMMIT
.static <T> TransactionalApplicationListener<PayloadApplicationEvent<T>>
TransactionalApplicationListener.forPayload
(TransactionPhase phase, Consumer<T> consumer) Create a newTransactionalApplicationListener
for the given payload consumer.