class TransactionPhase
The phase at which a transactional event listener applies. |
class TransactionalEventListener
An EventListener that is invoked according to a TransactionPhase. If the event is not published within the boundaries of a managed transaction, the event is discarded unless the Adding org.springframework.core.annotation.Order to your annotated method allows you to prioritize that listener amongst other listeners running before or after transaction completion. |