public class NacosConfigBeanDefinitionRegistrar extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
BeanDefinition RegistrarEnableNacosConfig,
NacosBeanUtils.registerGlobalNacosProperties(AnnotationAttributes,
BeanDefinitionRegistry, PropertyResolver, String),
NacosBeanUtils.registerNacosCommonBeans(BeanDefinitionRegistry),
NacosBeanUtils.registerNacosConfigBeans(BeanDefinitionRegistry,
Environment,BeanFactory)| Constructor and Description |
|---|
NacosConfigBeanDefinitionRegistrar() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata metadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrarpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionCopyright © 2020. All rights reserved.