摘要: 背景 ApplicationContext事件监听机制是Observer设计模式的实现,通过继承ApplicationEvent类和实现ApplicationListener接口,可以实现ApplicationContext事件处理; 如果容器中存在ApplicationListener的Bean, 阅读全文