public class AnnotationNacosPropertySourceBuilder extends AbstractNacosPropertySourceBuilder<org.springframework.beans.factory.annotation.AnnotatedBeanDefinition>
@NacosPropertySource
BuilderNacosPropertySource,
NacosPropertySources,
AnnotatedBeanDefinition| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_NAME
The bean name of
AnnotationNacosPropertySourceBuilder |
beanFactory, environment, logger| Constructor and Description |
|---|
AnnotationNacosPropertySourceBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected NacosConfigMetadataEvent |
createMetaEvent(NacosPropertySource nacosPropertySource,
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition) |
protected void |
doInitMetadataEvent(NacosPropertySource nacosPropertySource,
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition,
NacosConfigMetadataEvent metadataEvent) |
protected void |
initNacosPropertySource(NacosPropertySource nacosPropertySource,
org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition,
Map<String,Object> annotationAttributes) |
protected Map<String,Object>[] |
resolveRuntimeAttributesArray(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition,
Properties globalNacosProperties)
|
afterPropertiesSet, build, doBuild, getBeanDefinitionType, setApplicationContext, setBeanClassLoader, setBeanFactory, setEnvironment, supportspublic static final String BEAN_NAME
AnnotationNacosPropertySourceBuilderpublic AnnotationNacosPropertySourceBuilder()
protected Map<String,Object>[] resolveRuntimeAttributesArray(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition, Properties globalNacosProperties)
AbstractNacosPropertySourceBuilderresolveRuntimeAttributesArray in class AbstractNacosPropertySourceBuilder<org.springframework.beans.factory.annotation.AnnotatedBeanDefinition>beanDefinition - Bean DefinitionglobalNacosProperties - Global Nacos Propertiesprotected void initNacosPropertySource(NacosPropertySource nacosPropertySource, org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition, Map<String,Object> annotationAttributes)
initNacosPropertySource in class AbstractNacosPropertySourceBuilder<org.springframework.beans.factory.annotation.AnnotatedBeanDefinition>protected NacosConfigMetadataEvent createMetaEvent(NacosPropertySource nacosPropertySource, org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition)
createMetaEvent in class AbstractNacosPropertySourceBuilder<org.springframework.beans.factory.annotation.AnnotatedBeanDefinition>protected void doInitMetadataEvent(NacosPropertySource nacosPropertySource, org.springframework.beans.factory.annotation.AnnotatedBeanDefinition beanDefinition, NacosConfigMetadataEvent metadataEvent)
doInitMetadataEvent in class AbstractNacosPropertySourceBuilder<org.springframework.beans.factory.annotation.AnnotatedBeanDefinition>Copyright © 2020. All rights reserved.