spring boot web.xml listener
Spring Boot 2.X(十):自定义注册 Servlet、Filter、Listener - 云+社区 - 腾讯云
https://cloud.tencent.com/developer/article/1527048
Spring Boot (Web 篇):整合监听器Listener_Soinice的博客-CSDN博客
https://blog.csdn.net/Soinice/article/details/82869919