public abstract class ConfigMapPropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
PropertySourceLocator that uses config maps.| Modifier and Type | Field and Description |
|---|---|
protected ConfigMapConfigProperties |
properties |
| Constructor and Description |
|---|
ConfigMapPropertySourceLocator(ConfigMapConfigProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.springframework.core.env.MapPropertySource |
getMapPropertySource(String name,
ConfigMapConfigProperties.NormalizedSource normalizedSource,
String configurationTarget,
org.springframework.core.env.ConfigurableEnvironment environment) |
org.springframework.core.env.PropertySource |
locate(org.springframework.core.env.Environment environment) |
protected final ConfigMapConfigProperties properties
public ConfigMapPropertySourceLocator(ConfigMapConfigProperties properties)
public org.springframework.core.env.PropertySource locate(org.springframework.core.env.Environment environment)
locate in interface org.springframework.cloud.bootstrap.config.PropertySourceLocatorprotected abstract org.springframework.core.env.MapPropertySource getMapPropertySource(String name, ConfigMapConfigProperties.NormalizedSource normalizedSource, String configurationTarget, org.springframework.core.env.ConfigurableEnvironment environment)
Copyright © 2017–2021 Pivotal Software, Inc.. All rights reserved.