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 applicationName,
ConfigMapConfigProperties.NormalizedSource normalizedSource,
String configurationTarget,
org.springframework.core.env.ConfigurableEnvironment environment) |
org.springframework.core.env.PropertySource<?> |
locate(org.springframework.core.env.Environment environment) |
Collection<org.springframework.core.env.PropertySource<?>> |
locateCollection(org.springframework.core.env.Environment environment) |
protected final ConfigMapConfigProperties properties
public ConfigMapPropertySourceLocator(ConfigMapConfigProperties properties)
protected abstract org.springframework.core.env.MapPropertySource getMapPropertySource(String applicationName, ConfigMapConfigProperties.NormalizedSource normalizedSource, String configurationTarget, org.springframework.core.env.ConfigurableEnvironment environment)
public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment)
locate
in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator
public Collection<org.springframework.core.env.PropertySource<?>> locateCollection(org.springframework.core.env.Environment environment)
locateCollection
in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator
Copyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.