2018年11月14日

Springboot--事件监听

摘要: 1 通过SpringApplication发布事件 2 springboot交给 SimpleApplicationEventMulticaster进行处理 2.1会从缓存中寻找该事件的监听者。其中cachekey是由事件和sourceType确定的类似于这样 "ListenerCacheKey [ 阅读全文

posted @ 2018-11-14 11:44 小成成2016 阅读(118) 评论(0) 推荐(0)

导航