@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 |
---|---|
ConfigurationUpdateStrategy |
configurationUpdateStrategy(ConfigReloadProperties properties,
org.springframework.context.ConfigurableApplicationContext ctx,
org.springframework.cloud.context.restart.RestartEndpoint restarter,
org.springframework.cloud.context.refresh.ContextRefresher refresher) |
org.springframework.cloud.commons.util.TaskSchedulerWrapper |
taskScheduler() |
protected ConfigReloadAutoConfigurationBeans()
@Bean(value="springCloudKubernetesTaskScheduler") @ConditionalOnMissingBean public org.springframework.cloud.commons.util.TaskSchedulerWrapper taskScheduler()
@Bean @ConditionalOnMissingBean public ConfigurationUpdateStrategy configurationUpdateStrategy(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.