
spring
文章平均质量分 80
Neo_Gamer
决心攀登高峰的人,总能找到道路。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
通过SpringContextUtil获取spring环境上下文
1.先写个工具类,实现ApplicationContextAware接口,然后他会把ApplicationContext对象传给你,在setApplicationContext方法里已经把ApplicationContext传给你了,然后去完成初始化。转载 2014-10-30 11:48:54 · 4982 阅读 · 0 评论 -
springAOP拦截并打印controller层请求日志---注解方式实现
/** * Aop implementation of request log printing * * Created by wenqiangxia on 9:07 2017/10/27 */ @Component @Aspect public class RequestLog { public static final Logger LOG = LoggerFactory.g原创 2017-11-02 14:24:13 · 3667 阅读 · 0 评论