public class NacosBeanDefinitionRegistrar extends Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar, org.springframework.context.EnvironmentAware, org.springframework.beans.factory.BeanFactoryAware
BeanDefinition Registrar| 限定符和类型 | 字段和说明 |
|---|---|
private org.springframework.beans.factory.BeanFactory |
beanFactory |
private org.springframework.core.env.Environment |
environment |
| 构造器和说明 |
|---|
NacosBeanDefinitionRegistrar() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
registerNacosAnnotationBeans(org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
private org.springframework.core.env.Environment environment
private org.springframework.beans.factory.BeanFactory beanFactory
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions 在接口中 org.springframework.context.annotation.ImportBeanDefinitionRegistrarpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAwarepublic void registerNacosAnnotationBeans(org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory 在接口中 org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionCopyright © 2021 Zodiac. All rights reserved.