public static interface TransactionalApplicationListener.SynchronizationCallback
TransactionalApplicationListener.processEvent(E)).| Modifier and Type | Method and Description |
|---|---|
default void |
postProcessEvent(org.springframework.context.ApplicationEvent event,
Throwable ex)
Called after a transactional event listener invocation.
|
default void |
preProcessEvent(org.springframework.context.ApplicationEvent event)
Called before transactional event listener invocation.
|
default void preProcessEvent(org.springframework.context.ApplicationEvent event)
event - the event that transaction synchronization is about to processdefault void postProcessEvent(org.springframework.context.ApplicationEvent event,
@Nullable
Throwable ex)
event - the event that transaction synchronization finished processingex - an exception that occurred during listener invocation, if any