Class ConfigDataRetryableSecretsPropertySourceLocator
java.lang.Object
org.springframework.cloud.kubernetes.commons.config.SecretsPropertySourceLocator
org.springframework.cloud.kubernetes.commons.config.ConfigDataRetryableSecretsPropertySourceLocator
- All Implemented Interfaces:
org.springframework.cloud.bootstrap.config.PropertySourceLocator
SecretsPropertySourceLocator for when retry is enabled.
- Author:
- Ryan Baxter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConfigDataRetryableSecretsPropertySourceLocator(SecretsPropertySourceLocator propertySourceLocator, SecretsConfigProperties secretsConfigProperties) -
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) voidsetSecretsPropertySourceLocator(SecretsPropertySourceLocator secretsPropertySourceLocator)
-
Field Details
-
properties
-
-
Constructor Details
-
ConfigDataRetryableSecretsPropertySourceLocator
public ConfigDataRetryableSecretsPropertySourceLocator(SecretsPropertySourceLocator propertySourceLocator, SecretsConfigProperties secretsConfigProperties)
-
-
Method Details
-
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
-
getPropertySource
protected org.springframework.core.env.MapPropertySource getPropertySource(org.springframework.core.env.ConfigurableEnvironment environment, NormalizedSource normalizedSource, ReadType readType) -
getSecretsPropertySourceLocator
-
setSecretsPropertySourceLocator
public void setSecretsPropertySourceLocator(SecretsPropertySourceLocator secretsPropertySourceLocator)
-