各种初始化方法顺序:
构造器–>自动注入–>PostConstrut–>InitializingBean–>xml中配置init方法
各种结束方法顺序:
PreDestroy–》DisposableBean–>xml中destroy-method方法
各种初始化方法顺序:
构造器–>自动注入–>PostConstrut–>InitializingBean–>xml中配置init方法
各种结束方法顺序:
PreDestroy–》DisposableBean–>xml中destroy-method方法