public abstract class SecretsPropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
PropertySourceLocator
for secrets.Modifier and Type | Field and Description |
---|---|
protected SecretsConfigProperties |
properties |
Constructor and Description |
---|
SecretsPropertySourceLocator(SecretsConfigProperties properties) |
Modifier and Type | Method and Description |
---|---|
protected abstract org.springframework.core.env.MapPropertySource |
getPropertySource(org.springframework.core.env.ConfigurableEnvironment environment,
SecretsConfigProperties.NormalizedSource normalizedSource,
String configurationTarget) |
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 void |
putPathConfig(org.springframework.core.env.CompositePropertySource composite) |
protected final SecretsConfigProperties properties
public SecretsPropertySourceLocator(SecretsConfigProperties properties)
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
protected abstract org.springframework.core.env.MapPropertySource getPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, SecretsConfigProperties.NormalizedSource normalizedSource, String configurationTarget)
protected void putPathConfig(org.springframework.core.env.CompositePropertySource composite)
Copyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.