Class ConfigMapPropertySourceLocator

java.lang.Object
org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySourceLocator
All Implemented Interfaces:
org.springframework.cloud.bootstrap.config.PropertySourceLocator

public abstract class ConfigMapPropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
A PropertySourceLocator that uses config maps.
Author:
Ioannis Canellos, Michael Moudatsos, Isik Erhan
  • Field Details

  • Constructor Details

  • Method Details

    • getMapPropertySource

      protected abstract org.springframework.core.env.MapPropertySource getMapPropertySource(String applicationName, ConfigMapConfigProperties.NormalizedSource normalizedSource, String configurationTarget, org.springframework.core.env.ConfigurableEnvironment environment)
    • locate

      public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment)
      Specified by:
      locate in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator
    • locateCollection

      public Collection<org.springframework.core.env.PropertySource<?>> locateCollection(org.springframework.core.env.Environment environment)
      Specified by:
      locateCollection in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator