@Test public void testRegisterBeanDefinitions() { }
@Override public void registerBeanDefinitions(AnnotationMetadata metadata, BeanDefinitionRegistry registry) { AnnotationAttributes attributes = fromMap( metadata.getAnnotationAttributes(EnableNacosConfig.class.getName())); registerGlobalNacosProperties(attributes, registry, environment, CONFIG_GLOBAL_NACOS_PROPERTIES_BEAN_NAME); registerNacosCommonBeans(registry); registerNacosConfigBeans(registry, environment, beanFactory); invokeNacosPropertySourcePostProcessor(beanFactory); }
NacosConfigBeanDefinitionRegistrar implements ImportBeanDefinitionRegistrar, EnvironmentAware, BeanFactoryAware { @Override public void registerBeanDefinitions(AnnotationMetadata metadata, BeanDefinitionRegistry registry) { AnnotationAttributes attributes = fromMap( metadata.getAnnotationAttributes(EnableNacosConfig.class.getName())); registerGlobalNacosProperties(attributes, registry, environment, CONFIG_GLOBAL_NACOS_PROPERTIES_BEAN_NAME); registerNacosCommonBeans(registry); registerNacosConfigBeans(registry, environment, beanFactory); invokeNacosPropertySourcePostProcessor(beanFactory); } }
NacosConfigBeanDefinitionRegistrar implements ImportBeanDefinitionRegistrar, EnvironmentAware, BeanFactoryAware { @Override public void registerBeanDefinitions(AnnotationMetadata metadata, BeanDefinitionRegistry registry) { AnnotationAttributes attributes = fromMap( metadata.getAnnotationAttributes(EnableNacosConfig.class.getName())); registerGlobalNacosProperties(attributes, registry, environment, CONFIG_GLOBAL_NACOS_PROPERTIES_BEAN_NAME); registerNacosCommonBeans(registry); registerNacosConfigBeans(registry, environment, beanFactory); invokeNacosPropertySourcePostProcessor(beanFactory); }  }
NacosConfigBeanDefinitionRegistrar implements ImportBeanDefinitionRegistrar, EnvironmentAware, BeanFactoryAware { @Override public void registerBeanDefinitions(AnnotationMetadata metadata, BeanDefinitionRegistry registry) { AnnotationAttributes attributes = fromMap( metadata.getAnnotationAttributes(EnableNacosConfig.class.getName())); registerGlobalNacosProperties(attributes, registry, environment, CONFIG_GLOBAL_NACOS_PROPERTIES_BEAN_NAME); registerNacosCommonBeans(registry); registerNacosConfigBeans(registry, environment, beanFactory); invokeNacosPropertySourcePostProcessor(beanFactory); }  @Override void registerBeanDefinitions(AnnotationMetadata metadata,
			BeanDefinitionRegistry registry); @Override void setEnvironment(Environment environment); @Override void setBeanFactory(BeanFactory beanFactory); }
NacosConfigBeanDefinitionRegistrar implements ImportBeanDefinitionRegistrar, EnvironmentAware, BeanFactoryAware { @Override public void registerBeanDefinitions(AnnotationMetadata metadata, BeanDefinitionRegistry registry) { AnnotationAttributes attributes = fromMap( metadata.getAnnotationAttributes(EnableNacosConfig.class.getName())); registerGlobalNacosProperties(attributes, registry, environment, CONFIG_GLOBAL_NACOS_PROPERTIES_BEAN_NAME); registerNacosCommonBeans(registry); registerNacosConfigBeans(registry, environment, beanFactory); invokeNacosPropertySourcePostProcessor(beanFactory); }  @Override void registerBeanDefinitions(AnnotationMetadata metadata,
			BeanDefinitionRegistry registry); @Override void setEnvironment(Environment environment); @Override void setBeanFactory(BeanFactory beanFactory);  }