10-bean创建流程1一finishBeanFactoryInitialization(ConfigurableListableBeanFactory

文章目录

  • 1. 方法的主要流程
  • 2. ConversionService-如何自定义转换器
  • 3. AbstractBeanFactory#getMergedLocalBeanDefinition(String beanName)
  • 4.FactoryBean实例化
  • 5.内置值处理器

1. 方法的主要流程

/**
 * Finish the initialization of this context's bean factory,
 * initializing all remaining singleton beans.
 */
protected void finishBeanFactoryInitialization(ConfigurableListableBeanFactory beanFactory) {
	// Initialize conversion service for this context.
	if (beanFactory.containsBean(CONVERSION_SERVICE_BEAN_NAME) &&
			beanFactory.isTypeMatch(CONVERSION_SERVICE_BEAN_NAME, ConversionService.class)) {
		beanFactory.setConversionService(
				beanFactory.getBean(CONVERSION_SERVICE_BEAN_NAME

你可能感兴趣的:(#,spring源码学习笔记,spring)