Spring ApplicationContext 中的对象bean的生命周期

Spring ApplicationContext 中的bean的生命周期
Spring 的BeanFactory 工厂对与Spring的Bean的生命周期的控制和ApplicationContext的生命周期的控制差别在于: ApplicationContext会调用ApplicationContext中的setApplicationContext()方法:
以图是ApplicationContext对与bean生命周期的控制与调用



猜你喜欢

转载自tjychyangchenhui.iteye.com/blog/1572230