随笔分类 -  Spring Boot

摘要:1:判断是否是web环境 2:加载classpath下所有的META-INF/spring.factories ApplicationContextInitializer 3:加载classpath下所有的META-INF/spring.factories ApplicationListener 4 阅读全文
posted @ 2018-05-26 13:20 413Xiaol 阅读(196) 评论(0) 推荐(0)
摘要:doBefore(){ ServetRequestAttrbtes attributes = (ServetRequestAttrbtes)RequestContextHolder.getHttpattributes(); HttpServletRequest request = attributes.getRequest(); } 阅读全文
posted @ 2018-01-22 21:41 413Xiaol 阅读(4026) 评论(0) 推荐(0)