赞
踩
BeanNameAware\ApplicationContextAware\InitializingBean\
DisposableBean\FactoryBean\BeanPostProcessor\BeanFactoryPostProcessor
同时实现了BeanNameAware/ApplicationContextAware/InitializingBean的类,调用顺序:setBeanName>setApplicationContext>afterPropertiesSet
-----------------------Testing--------------------------------
ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
applicationContext.start();
applicationContext.close();
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。