会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Grand_Jon
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
2018年12月5日
47、[源码]-Spring容器创建-初始化MessageSource
摘要: 47、[源码] Spring容器创建 初始化MessageSource 7、initMessageSource();初始化MessageSource组件(做国际化功能;消息绑定,消息解析); 1. 获取BeanFactory 2. 看容器中是否有id为messageSource的,类型是Messag
阅读全文
posted @ 2018-12-05 21:55 Grand_Jon
阅读(549)
评论(0)
推荐(0)
编辑
46、[源码]-Spring容器创建-注册BeanPostProcessors
摘要: 46、[源码] Spring容器创建 注册BeanPostProcessors 6、registerBeanPostProcessors(beanFactory);注册BeanPostProcessor(Bean的后置处理器)【 intercept bean creation】 不同接口类型的Bea
阅读全文
posted @ 2018-12-05 21:52 Grand_Jon
阅读(281)
评论(0)
推荐(0)
编辑
45、[源码]-Spring容器创建-执行BeanFactoryPostProcessor
摘要: 45、[源码] Spring容器创建 执行BeanFactoryPostProcessor 5、invokeBeanFactoryPostProcessors(beanFactory);执行BeanFactoryPostProcessor的方法; BeanFactoryPostProcessor:B
阅读全文
posted @ 2018-12-05 21:51 Grand_Jon
阅读(304)
评论(0)
推荐(0)
编辑
44、[源码]-Spring容器创建-BeanFactory预准备
摘要: 44、[源码] Spring容器创建 BeanFactory预准备 Spring容器的refresh()【创建刷新】; 1、prepareRefresh()刷新前的预处理; 1. initPropertySources()初始化一些属性设置;子类自定义个性化的属性设置方法; 2. getEnviro
阅读全文
posted @ 2018-12-05 21:48 Grand_Jon
阅读(245)
评论(0)
推荐(0)
编辑
2018年12月4日
【排序算法】冒泡排序(Bubble Sort)
摘要: 一、简介 冒泡排序(Bubble Sort)也是一种简单直观的排序算法。它重复地走访过要排序的数列,一次比较两个元素,如果他们的顺序错误就把他们交换过来。走访数列的工作是重复地进行直到没有再需要交换,也就是说该数列已经排序完成。这个算法的名字由来是因为越小的元素会经由交换慢慢“浮”到数列的顶端。 二
阅读全文
posted @ 2018-12-04 23:17 Grand_Jon
阅读(1689)
评论(0)
推荐(0)
编辑
43、扩展原理-@EventListener与SmartInitializingSingleton
摘要: 43、扩展原理 @EventListener与SmartInitializingSingleton 还可以使用 @EventListener; 来监听事件 原理:使用EventListenerMethodProcessor处理器来解析方法上的@EventListener; 使用 SmartIniti
阅读全文
posted @ 2018-12-04 22:50 Grand_Jon
阅读(798)
评论(0)
推荐(0)
编辑
42、扩展原理-ApplicationListener原理
摘要: 42、扩展原理 ApplicationListener原理 有三个事件 ContextRefreshedEvent、Test_Ext$1[source=我发布了一个事件]、ContextClosedEvent 1. ContextRefreshedEvent事件: 1. 容器创建对象:refresh
阅读全文
posted @ 2018-12-04 22:49 Grand_Jon
阅读(230)
评论(0)
推荐(0)
编辑
41、扩展原理-ApplicationListener用法
摘要: 41、扩展原理 ApplicationListener用法 ApplicationListener 监听容器中发布的事件。事件驱动模型开发; 监听 ApplicationEvent 及其下面的子事件; 步骤: 1)、写一个监听器(ApplicationListener实现类)来监听某个事件(Appl
阅读全文
posted @ 2018-12-04 22:46 Grand_Jon
阅读(504)
评论(0)
推荐(0)
编辑
40、扩展原理-BeanDefinitionRegistryPostProcessor
摘要: 40、扩展原理 BeanDefinitionRegistryPostProcessor BeanDefinitionRegistryPostProcessor extends BeanFactoryPostProcessor postProcessBeanDefinitionRegistry();
阅读全文
posted @ 2018-12-04 02:10 Grand_Jon
阅读(385)
评论(0)
推荐(0)
编辑
2018年12月3日
39、扩展原理-BeanFactoryPostProcessor
摘要: 39、扩展原理 BeanFactoryPostProcessor BeanPostProcessor:bean后置处理器,bean创建对象初始化前后进行拦截工作的 BeanFactoryPostProcessor:beanFactory的后置处理器; 在BeanFactory标准初始化之后调用,来定
阅读全文
posted @ 2018-12-03 22:34 Grand_Jon
阅读(273)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
7
8
9
···
13
下一页
公告
导航
博客园
首页
新随笔
新文章
联系
订阅
管理