InitializingBean
afterPropertiesSet:执行完构造函数之后
BeanPostProcessor
postProcessBeforeInitialization:该方法在bean已经实例化并属性注入完毕,在执行初始化方法(afterPropertiesSet或自定义init方法)之前调用
postProcessAfterInitialization:在执行初始化方法(afterPropertiesSet或自定义init方法)之后调用
ApplicationContextAware
可以获取到ioc容器里面的bean
EnvironmentAware
可以获取配置文件的属性值