public void postProcessBeanDefinitionRegistry(BeanDefinitionRegistry definitionRegistry)
      throws BeansException {
    // 自动注册
    BindRegistry registry = new SpringBindRegistry(definitionRegistry);
    Map<String, BeanDefinition> newDefinitions = registerModules(registry);
    // should register after all beans
    registerBuildins(registry);
    // 再配置
    reconfig(definitionRegistry, registry);
    lifecycle(registry, definitionRegistry);
    autowire(newDefinitions, registry);
  }
public void postProcessBeanDefinitionRegistry ( BeanDefinitionRegistry definitionRegistry ) throws BeansException { BindRegistry registry = new SpringBindRegistry ( definitionRegistry ) ; Map < String , BeanDefinition > newDefinitions = registerModules ( registry ) ; registerBuildins ( registry ) ; reconfig ( definitionRegistry , registry ) ; lifecycle ( registry , definitionRegistry ) ; autowire ( newDefinitions , registry ) ; }
Automate register and wire bean<br/>
Reconfig beans