Class ConfigDataRetryableConfigMapPropertySourceLocator
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySourceLocator
org.springframework.cloud.kubernetes.commons.config.ConfigDataRetryableConfigMapPropertySourceLocator
- All Implemented Interfaces:
org.springframework.cloud.bootstrap.config.PropertySourceLocator
public class ConfigDataRetryableConfigMapPropertySourceLocator
extends ConfigMapPropertySourceLocator
ConfigMapPropertySourceLocator for when retry is enabled.
- Author:
- Ryan Baxter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConfigDataRetryableConfigMapPropertySourceLocator(ConfigMapPropertySourceLocator configMapPropertySourceLocator, ConfigMapConfigProperties properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.core.env.MapPropertySourcegetPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, NormalizedSource normalizedSource, ReadType readType) 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) voidsetConfigMapPropertySourceLocator(ConfigMapPropertySourceLocator configMapPropertySourceLocator)
-
Field Details
-
properties
-
-
Constructor Details
-
ConfigDataRetryableConfigMapPropertySourceLocator
public ConfigDataRetryableConfigMapPropertySourceLocator(ConfigMapPropertySourceLocator configMapPropertySourceLocator, ConfigMapConfigProperties properties)
-
-
Method Details
-
getPropertySource
protected org.springframework.core.env.MapPropertySource getPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, NormalizedSource normalizedSource, ReadType readType) -
locate
public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment) - Specified by:
locatein interfaceorg.springframework.cloud.bootstrap.config.PropertySourceLocator
-
locateCollection
public Collection<org.springframework.core.env.PropertySource<?>> locateCollection(org.springframework.core.env.Environment environment) - Specified by:
locateCollectionin interfaceorg.springframework.cloud.bootstrap.config.PropertySourceLocator
-
setConfigMapPropertySourceLocator
public void setConfigMapPropertySourceLocator(ConfigMapPropertySourceLocator configMapPropertySourceLocator) -
getConfigMapPropertySourceLocator
-