Class PollingAwsPropertySourceChangeDetector<T extends AwsPropertySource<?,?>>
java.lang.Object
io.awspring.cloud.autoconfigure.config.reload.ConfigurationChangeDetector<T>
io.awspring.cloud.autoconfigure.config.reload.PollingAwsPropertySourceChangeDetector<T>
- Type Parameters:
T
- - property source class to check
- All Implemented Interfaces:
InitializingBean
public class PollingAwsPropertySourceChangeDetector<T extends AwsPropertySource<?,?>>
extends ConfigurationChangeDetector<T>
implements InitializingBean
Configuration change detector that checks for changed configuration on a scheduled basis.
Heavily inspired by Spring Cloud Kubernetes.
- Author:
- Matej Nedic, Maciej Walkowiak
-
Field Summary
FieldsFields inherited from class io.awspring.cloud.autoconfigure.config.reload.ConfigurationChangeDetector
environment, properties, strategy
-
Constructor Summary
ConstructorsConstructorDescriptionPollingAwsPropertySourceChangeDetector
(ReloadProperties properties, Class<T> clazz, ConfigurationUpdateStrategy strategy, TaskScheduler taskExecutor, ConfigurableEnvironment environment) -
Method Summary
Methods inherited from class io.awspring.cloud.autoconfigure.config.reload.ConfigurationChangeDetector
changed, getPropertySourceClass, locateMapPropertySources, reloadProperties
-
Field Details
-
log
-
-
Constructor Details
-
PollingAwsPropertySourceChangeDetector
public PollingAwsPropertySourceChangeDetector(ReloadProperties properties, Class<T> clazz, ConfigurationUpdateStrategy strategy, TaskScheduler taskExecutor, ConfigurableEnvironment environment)
-
-
Method Details
-
afterPropertiesSet
public void afterPropertiesSet()- Specified by:
afterPropertiesSet
in interfaceInitializingBean
-
executeCycle
public void executeCycle()
-