目录
4、postProcessBeanFactory(beanFactory);BeanFactory准备工作完成后进行的后置处理工作
4、postProcessBeanFactory(beanFactory);BeanFactory准备工作完成后进行的后置处理工作
/**
* Modify the application context's internal bean factory after its standard
* initialization. All bean definitions will have been loaded, but no beans
* will have been instantiated yet. This allows for registering special
* BeanPostProcessors etc in certain ApplicationContext implementations.
* @param beanFactory the bean factory used by the application context
*/
//子类通过重写这个方法来在BeanFactory创建并预准备完成以后做进一步的设置
protected void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) {
}