Example usage for org.springframework.core.env MapPropertySource subclass-usage

List of usage examples for org.springframework.core.env MapPropertySource subclass-usage

Introduction

In this page you can find the example usage for org.springframework.core.env MapPropertySource subclass-usage.

Usage

From source file com.homeadvisor.kafdrop.config.ini.IniFilePropertySource.java

public class IniFilePropertySource extends MapPropertySource {
    public IniFilePropertySource(String name, IniFileProperties source, String[] activeProfiles) {
        super(name, loadPropertiesForIniFile(source, activeProfiles));
    }

    private static Map<String, Object> loadPropertiesForIniFile(IniFileProperties iniProperties,

From source file org.springframework.cloud.kubernetes.config.KubernetesPropertySource.java

/**
 * Secrets and ConfigMaps shared features.
 */
public class KubernetesPropertySource extends MapPropertySource {
    private static final Log LOG = LogFactory.getLog(KubernetesPropertySource.class);

From source file org.cloudfoundry.identity.uaa.config.NestedMapPropertySource.java

/**
 * A property source based on a map that might contain nested maps and collections. Property keys can be nested using
 * period separators.
 * 
 * @author Dave Syer
 * 

From source file io.gravitee.common.util.RelaxedPropertySource.java

/**
 * @author Nicolas GERAUD (nicolas.geraud at graviteesource.com) 
 * @author GraviteeSource Team
 *
 * @see org.springframework.core.env.SystemEnvironmentPropertySource
 */

From source file io.fabric8.spring.cloud.kubernetes.config.SecretsPropertySource.java

public class SecretsPropertySource extends MapPropertySource {
    private static final Logger LOGGER = LoggerFactory.getLogger(SecretsPropertySource.class);

    private static final String PREFIX = "secrets";

    public SecretsPropertySource(KubernetesClient client, Environment env, SecretsConfigProperties config) {

From source file org.finra.dm.dao.ReloadablePropertySource.java

/**
 * A property source that will possibly re-load itself each time a property is requested. A reload will take place if the configured refresh interval has
 * elapsed. A refresh interval of 0 will cause the properties to refresh every time a property is requested.
 * <p/>
 * If a property is loaded with the key org.finra.dm.dao.ReloadablePropertiesSource.refreshIntervalSecs, it will be used as a way to override the previously
 * configured refresh interval.

From source file io.fabric8.spring.cloud.kubernetes.config.ConfigMapPropertySource.java

public class ConfigMapPropertySource extends MapPropertySource {
    private static final Logger LOGGER = LoggerFactory.getLogger(ConfigMapPropertySource.class);

    private static final String APPLICATION_YML = "application.yml";
    private static final String APPLICATION_YAML = "application.yaml";
    private static final String APPLICATION_PROPERTIES = "application.properties";

From source file org.springframework.cloud.kubernetes.config.ConfigMapPropertySource.java

public class ConfigMapPropertySource extends MapPropertySource {
    private static final Log LOG = LogFactory.getLog(ConfigMapPropertySource.class);

    private static final String APPLICATION_YML = "application.yml";
    private static final String APPLICATION_YAML = "application.yaml";
    private static final String APPLICATION_PROPERTIES = "application.properties";

From source file org.springframework.cloud.kubernetes.config.SecretsPropertySource.java

public class SecretsPropertySource extends MapPropertySource {
    private static final Log LOG = LogFactory.getLog(SecretsPropertySource.class);

    private static final String PREFIX = "secrets";

    public SecretsPropertySource(KubernetesClient client, Environment env, SecretsConfigProperties config) {

From source file org.finra.herd.dao.ReloadablePropertySource.java

/**
 * A property source that will possibly re-load itself each time a property is requested. A reload will take place if the configured refresh interval has
 * elapsed. A refresh interval of 0 will cause the properties to refresh every time a property is requested.
 * <p/>
 * If a property is loaded with the key org.finra.herd.dao.ReloadablePropertiesSource.refreshIntervalSecs, it will be used as a way to override the previously
 * configured refresh interval.