天天看點

Spring Boot(三)Application events and listeners

一、自定義監聽器:

1、建立:

2、添加:

二、應用程式事件發送順序如下