org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory#initializeBean(java.lang.String, java.lang.Object, org.springframework.beans.factory.support.RootBeanDefinition)
protected Object initializeBean(final String beanName, final Object bean, @Nullable RootBeanDefinition mbd) {
if (System.getSecurityManager() != null) {
AccessController.doPrivileged((PrivilegedAction
初始化调用顺序:
@PostConstruct方法spring的初始化接口的afterPropertiesSet方法xml配置文件bean标签设置的init-method方法
销毁顺序:则是跟上面的相同
@PreDestroy注解标注的方法DisposableBean回调接口定义的destroy()xml配置文件的destroy-method方法