public class PropertySourcesProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.EnvironmentAware, org.springframework.core.PriorityOrdered
BeanFactoryPostProcessor instead of
BeanDefinitionRegistryPostProcessor is that lower versions of
Spring (e.g. 3.1.1) doesn't support registering BeanDefinitionRegistryPostProcessor in ImportBeanDefinitionRegistrar
- ApolloConfigRegistrar| Constructor and Description |
|---|
PropertySourcesProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addNamespaces(Collection<String> namespaces,
int order) |
int |
getOrder() |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setEnvironment(org.springframework.core.env.Environment environment) |
public static boolean addNamespaces(Collection<String> namespaces, int order)
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws org.springframework.beans.BeansException
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment in interface org.springframework.context.EnvironmentAwarepublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2022 Ctrip, Inc.. All rights reserved.