随笔分类 -  Spring

摘要:本博客内容非自创,转载自以下三位,侵删: https://juejin.im/post/5ab7bd11f265da23906bfbc5 https://my.oschina.net/fifadxj/blog/785621 https://www.jianshu.com/p/b864aecc0de1 阅读全文
posted @ 2018-09-12 22:38 rayallenbj 阅读(1843) 评论(0) 推荐(0)
摘要:本文主要摘录于 Spring技术内幕-深入即系Spring架构和设计原理(许文柯著)。 IoC容器的初始化包括BeanDefinition的Resource定位、载入和注册三个基本过程。 一、BeanDefinition的Resource定位 还是以FileSystemXmlApplicationC 阅读全文
posted @ 2018-08-23 22:52 rayallenbj 阅读(2486) 评论(0) 推荐(0)
摘要:本文主要摘录于 Spring技术内幕-深入即系Spring架构和设计原理(许文柯著)。 IoC是根据两个核心BeanFactory和ApplicationContext来设计的,这里先放一张Spring IoC容器的接口设计图: 主要由两条设计主线: 1、BeanFactory:定义了基本IoC容器 阅读全文
posted @ 2018-08-11 10:11 rayallenbj 阅读(247) 评论(0) 推荐(0)
摘要:Interceptor 主要作用:拦截用户请求,进行处理,比如判断用户登录情况,权限验证,主要针对Action请求进行处理。是通过HandlerInterceptor 实现的。 配置如下: 一般拦截器可通过实现HandlerInterceptor接口或者继承HandlerInterceptorAda 阅读全文
posted @ 2018-02-28 16:19 rayallenbj 阅读(13642) 评论(0) 推荐(2)