自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 二、bean的加载

二、bean的加载1.实例代码MyTestBean bean = (MyTestBean) bf.getBean("myTestBean");调用了AbstractBeanFactory的getBean方法最终调用到doGetBean方法AbstractBeanFactory1. beanName = transformedBeanName(name)2. Object shareIns...

2019-04-17 18:23:24 176

原创 三、容器的功能扩展

三、容器的功能扩展1.示例代码ApplicationContext bf = new ClassPathXmlApplicationContext("beanFactoryText.xml");2.ClassPathXmlApplicationContextpublic ClassPathXmlApplicationContext(String configLocation) throw...

2019-04-17 18:23:05 205

原创 一、从容器初始化分析

一、从容器初始化分析1.实例代码BeanFactory bf = new XmlBeanFactory(new ClassPathResource("beanFactoryTest.xml));2.XmlBeanFactory初始化时序图bf BeanFactoryTestclassPathResourcexmlBeanFactoryreader1 new ClassPathResour...

2019-04-17 18:21:01 181

空空如也

空空如也

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

TA关注的人

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