Constructor > BeanPostProcessor#postProcessBeforeInitialization > @PostConstruct >
InitializingBean#afterPropertiesSet > @bean(init-method="xxxx") >
BeanPostProcessor#postProcessAfterInitialization > 生存期 >  
@PreDestroy > DisposableBean#destroy > @bean(destory-method="xxxx") 
Bean在实例化的过程中:Constructor > @PostConstruct >InitializingBean > init-method
Bean在销毁的过程中:@PreDestroy > DisposableBean > destroy-method

 spring bean的初始化/销毁顺序-LMLPHP

03-13 08:40