public class NacosDefaultPropertySourceEnvironmentPostProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor, org.springframework.core.Ordered
EnvironmentPostProcessor implementation to append Nacos default PropertySource
with lowest order in Environment| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_SOURCE_NAME
The name of Nacos default
PropertySource |
static String |
RESOURCE_LOCATION_PATTERN
The resource location pattern of Nacos default
PropertySource |
| Constructor and Description |
|---|
NacosDefaultPropertySourceEnvironmentPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
void |
postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
org.springframework.boot.SpringApplication application) |
public static final String PROPERTY_SOURCE_NAME
PropertySourcepublic static final String RESOURCE_LOCATION_PATTERN
PropertySourceResourcePatternResolver.CLASSPATH_ALL_URL_PREFIX,
Constant Field Valuespublic NacosDefaultPropertySourceEnvironmentPostProcessor()
public void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment,
org.springframework.boot.SpringApplication application)
postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessorpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2018–2019 Alibaba Group. All rights reserved.