@ConditionalOnProperty(value="spring.cloud.kubernetes.reload.enabled") @ConditionalOnClass(value={org.springframework.cloud.context.restart.RestartEndpoint.class,org.springframework.cloud.context.refresh.ContextRefresher.class}) protected static class ConfigReloadAutoConfiguration.ConfigReloadAutoConfigurationBeans extends Object
Modifier | Constructor and Description |
---|---|
protected |
ConfigReloadAutoConfigurationBeans() |
Modifier and Type | Method and Description |
---|---|
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector |
configMapPropertyChangeEventWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
Fabric8ConfigMapPropertySourceLocator fabric8ConfigMapPropertySourceLocator)
Event Based configMap ConfigurationChangeDetector.
|
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector |
configMapPropertyChangePollingWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
Fabric8ConfigMapPropertySourceLocator fabric8ConfigMapPropertySourceLocator,
org.springframework.cloud.commons.util.TaskSchedulerWrapper taskSchedulerWrapper)
Polling configMap ConfigurationChangeDetector.
|
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy |
configurationUpdateStrategy(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
org.springframework.context.ConfigurableApplicationContext ctx,
org.springframework.cloud.context.restart.RestartEndpoint restarter,
org.springframework.cloud.context.refresh.ContextRefresher refresher) |
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector |
secretsPropertyChangeEventWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
Fabric8SecretsPropertySourceLocator fabric8SecretsPropertySourceLocator)
Event Based secrets ConfigurationChangeDetector.
|
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector |
secretsPropertyChangePollingWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties,
org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy,
Fabric8SecretsPropertySourceLocator fabric8SecretsPropertySourceLocator,
org.springframework.cloud.commons.util.TaskSchedulerWrapper taskScheduler)
Polling secrets ConfigurationChangeDetector.
|
protected ConfigReloadAutoConfigurationBeans()
@Bean @ConditionalOnBean(value=Fabric8ConfigMapPropertySourceLocator.class) @Conditional(value=org.springframework.cloud.kubernetes.commons.config.reload.condition.PollingReloadDetectionMode.class) public org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector configMapPropertyChangePollingWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties, org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy, Fabric8ConfigMapPropertySourceLocator fabric8ConfigMapPropertySourceLocator, org.springframework.cloud.commons.util.TaskSchedulerWrapper taskSchedulerWrapper)
properties
- config reload propertiesstrategy
- configuration update strategyfabric8ConfigMapPropertySourceLocator
- configMap property source locator@Bean @ConditionalOnBean(value=Fabric8SecretsPropertySourceLocator.class) @Conditional(value=org.springframework.cloud.kubernetes.commons.config.reload.condition.PollingReloadDetectionMode.class) public org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector secretsPropertyChangePollingWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties, org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy, Fabric8SecretsPropertySourceLocator fabric8SecretsPropertySourceLocator, org.springframework.cloud.commons.util.TaskSchedulerWrapper taskScheduler)
properties
- config reload propertiesstrategy
- configuration update strategyfabric8SecretsPropertySourceLocator
- secrets property source locator@Bean @ConditionalOnBean(value=Fabric8ConfigMapPropertySourceLocator.class) @Conditional(value=org.springframework.cloud.kubernetes.commons.config.reload.condition.EventReloadDetectionMode.class) public org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector configMapPropertyChangeEventWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties, org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy, Fabric8ConfigMapPropertySourceLocator fabric8ConfigMapPropertySourceLocator)
properties
- config reload propertiesstrategy
- configuration update strategyfabric8ConfigMapPropertySourceLocator
- configMap property source locator@Bean @ConditionalOnBean(value=Fabric8SecretsPropertySourceLocator.class) @Conditional(value=org.springframework.cloud.kubernetes.commons.config.reload.condition.EventReloadDetectionMode.class) public org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationChangeDetector secretsPropertyChangeEventWatcher(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties, org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy strategy, Fabric8SecretsPropertySourceLocator fabric8SecretsPropertySourceLocator)
properties
- config reload propertiesstrategy
- configuration update strategyfabric8SecretsPropertySourceLocator
- secrets property source locator@Bean @ConditionalOnMissingBean public org.springframework.cloud.kubernetes.commons.config.reload.ConfigurationUpdateStrategy configurationUpdateStrategy(org.springframework.cloud.kubernetes.commons.config.reload.ConfigReloadProperties properties, org.springframework.context.ConfigurableApplicationContext ctx, @Autowired(required=false) org.springframework.cloud.context.restart.RestartEndpoint restarter, org.springframework.cloud.context.refresh.ContextRefresher refresher)
properties
- config reload propertiesctx
- application contextrestarter
- restart endpointrefresher
- context refresherCopyright © 2017–2022 Pivotal Software, Inc.. All rights reserved.