自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 收藏
  • 关注

转载 Spring在Bean的生命周期中的扩展点

Spring生命周期中在启动过程中由配置文件转变为系统中能够执行的对象。这个过程中主要步骤有 创建Bean,设置属性。两个关键点将系统中的步骤分为了三个时期中的扩展点。BeanDefintion对象中记录了Bean的基础信息。一:创建Bean之前,这个过程是在实例化Cla...

2017-08-04 17:03:00 187

转载 Spring源码分析,BeanDefinition加载过程

1.简介 Spring的启动分为关键步骤,首先是将配置文件中定义的<bean>信息加载到BeanDefintionRegistry中。然后通过BeanFactory中的getBean方法来将BeanDefinition进行实例化,开始整个bean的生命周期。 2.BeanDef...

2017-04-25 10:44:00 126

转载 【设计模式】模板模式

在看Spring ApplicationContext的时候,Spring的ApplicationContext启动的过程是在AbstractApplicationContext中的refresh()方法中实现的。在AbstractApplicationContext中是没有具体的BeanFa...

2017-04-18 14:11:00 66

转载 Spring ApplicationContext源码分析

代码的入口: @Testpublic void testFileXmlApplicationContext() { ApplicationContext applicationContext = new ClassPathXmlApplicationContext("spring...

2017-04-15 16:55:00 110

转载 HashMap源码分析

一、类的定义 public class HashMap<K,V> extends AbstractMap<K,V> implements Map<K,V>, Cloneable, Serializable HashMap的依赖图。 二、类...

2017-04-10 20:34:00 49

转载 ArrayList源码分析

一、类的定义 public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomAccess, Cloneable, java.io.Serializable 类的继...

2017-04-09 16:53:00 72

转载 String源码分析

一、类定义 public final class String implements java.io.Serializable, Comparable<String>, CharSequence String是一个final的类,不能被继承。 实...

2017-04-08 17:41:00 78

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除