Uses of Class
org.springframework.context.PayloadApplicationEvent
Package
Description
This package builds on the beans package to add support for
message sources and for the Observer design pattern, and the
ability for application objects to obtain resources using a
consistent API.
Spring's support for listening to transaction events.
-
Uses of PayloadApplicationEvent in org.springframework.context
Modifier and TypeMethodDescriptionstatic <T> ApplicationListener<PayloadApplicationEvent<T>>
ApplicationListener.forPayload
(Consumer<T> consumer) Create a newApplicationListener
for the given payload consumer. -
Uses of PayloadApplicationEvent in org.springframework.transaction.event
Modifier 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.