Bean的初始化过程

初始化过程   bean实例化 –> postProcessBeforeInitialization() –> 属性设置 –> afterPropertiesSet() –> init-method –> postProcessAfterInitialization() 初始化实现 注解 通过注解@Bean属性initMethod和destroyMethod设置初始化和销毁方法; 通过注解@Pos
相关文章
相关标签/搜索