1.美图
2.案例
SpringBoot : BeanFactory和FactoryBean的区别
3.前言
Spring : Spring的ApplicationContext接口
上面一篇博客讲解了ClassPathXmlApplicationContext,下面我们讲解 Student student = (Student) cpxa.getBean("student")
这一句话发生了什么。
/**
* 测试:
* 测试结果:
* com.spring.boot.bean.Student
* com.spring.boot.bean.FactoryBeanPojo
* zhangsan
*/