摘要: NamespaceHandler 通过自定义的NamespaceHandler,配合BeanDefinitionParser,可以完成自定义Bean的组装操作,对于BeanDefinition的数据结构,进行个性化创建。 BeanFactoryPostProcessor 实现BeanFactoryP 阅读全文
posted @ 2018-11-21 17:34 antball 阅读(312) 评论(0) 推荐(0) 编辑
摘要: TypeConverterDelegate PropertyEditorRegistrySupport PropertyEditor PropertyEditorRegistrySupport createDefaultEditors BeanWrapper Spring Aware Convert 阅读全文
posted @ 2018-11-21 16:05 antball 阅读(160) 评论(0) 推荐(0) 编辑
摘要: @Value("${key}") 此类别指的是作用于bean的属性,如是否延迟加载,Scope等, @Qualifier 常和@autowired @Lazy 延迟加载 @Scope 定义bean的Scope @Required 可以标注在Set方法上,说明此方法需要被执行,否则跑出异常,长和@au 阅读全文
posted @ 2018-11-21 14:47 antball 阅读(120) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/LDZZDL/p/9061603.html PlantUML https://blog.csdn.net/tterminator/article/details/78177619 阅读全文
posted @ 2018-11-21 13:42 antball 阅读(278) 评论(0) 推荐(0) 编辑
摘要: 概念 http://developer.51cto.com/art/200610/33311.htm http://kb.cnblogs.com/page/45266/ ==https://www.chkui.com/article/spring/spring_core_stereotype_com 阅读全文
posted @ 2018-11-21 11:27 antball 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 对于初始化函数: 1. @PostConstruct 注解的方法 2. InitializingBean接口定义的回调afterPropertiesSet() 3. Bean配置中自定义的初始化函数 对于析构则与上相同: 1. @PreDestroy注解的方法 2. DisposableBean接口 阅读全文
posted @ 2018-11-21 10:34 antball 阅读(365) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/nacey5201/article/details/8547772 https://blog.csdn.net/xwl617756974/article/details/7451773 "springboot 配置 Servlet、Filter、Liste 阅读全文
posted @ 2018-11-21 10:18 antball 阅读(214) 评论(0) 推荐(0) 编辑
摘要: BeanPostProcessor spring使用BeanPostProcessor接口来处理生命周期的回调 BeanPostProcessor接口定义的两个方法,分别在bean的(实例化配置和初始化一个bean之后)初始化方法(InitializingBean接口,或者init method定义 阅读全文
posted @ 2018-11-21 10:17 antball 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 在eclipse.ini文件首行添加 vm C:\Program Files\Java\jdk1.8\jdk1.8.0_131\bin https://blog.csdn.net/wanlin77/article/details/80295183 阅读全文
posted @ 2018-11-21 10:10 antball 阅读(465) 评论(0) 推荐(0) 编辑