当实现ApplicationListener接口的监听器

添加上以下这个类,会使监听器中onApplicationEvent()方法,以异步的方法执行 package xxx.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springf
相关文章
相关标签/搜索