Uses of Class
org.springframework.context.PayloadApplicationEvent
Packages that use 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
Methods in org.springframework.context that return types with arguments of type PayloadApplicationEventModifier 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
Methods in org.springframework.transaction.event that return types with arguments of type PayloadApplicationEventModifier 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.