public class EventBasedConfigurationChangeDetector extends ConfigurationChangeDetector
environment, kubernetesClient, log, properties, strategy
Constructor and Description |
---|
EventBasedConfigurationChangeDetector(org.springframework.core.env.AbstractEnvironment environment,
ConfigReloadProperties properties,
io.fabric8.kubernetes.client.KubernetesClient kubernetesClient,
ConfigurationUpdateStrategy strategy,
ConfigMapPropertySourceLocator configMapPropertySourceLocator,
SecretsPropertySourceLocator secretsPropertySourceLocator) |
Modifier and Type | Method and Description |
---|---|
void |
unwatch() |
void |
watch() |
changed, findPropertySource, findPropertySources, reloadProperties, shutdown
public EventBasedConfigurationChangeDetector(org.springframework.core.env.AbstractEnvironment environment, ConfigReloadProperties properties, io.fabric8.kubernetes.client.KubernetesClient kubernetesClient, ConfigurationUpdateStrategy strategy, ConfigMapPropertySourceLocator configMapPropertySourceLocator, SecretsPropertySourceLocator secretsPropertySourceLocator)
@PostConstruct public void watch()
@PreDestroy public void unwatch()
Copyright © 2016–2017 Red Hat. All rights reserved.