public class ArchaiusConfigMapSourceConfiguration extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, com.netflix.config.WatchedConfigurationSource, Closeable
| Constructor and Description |
|---|
ArchaiusConfigMapSourceConfiguration(io.fabric8.kubernetes.client.KubernetesClient client,
String name,
String namespace) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUpdateListener(com.netflix.config.WatchedUpdateListener watchedUpdateListener) |
void |
afterPropertiesSet() |
void |
close() |
void |
destroy() |
Map<String,Object> |
getCurrentData() |
void |
removeUpdateListener(com.netflix.config.WatchedUpdateListener watchedUpdateListener) |
void |
start() |
public void start()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic void addUpdateListener(com.netflix.config.WatchedUpdateListener watchedUpdateListener)
addUpdateListener in interface com.netflix.config.WatchedConfigurationSourcepublic void removeUpdateListener(com.netflix.config.WatchedUpdateListener watchedUpdateListener)
removeUpdateListener in interface com.netflix.config.WatchedConfigurationSourcepublic Map<String,Object> getCurrentData() throws Exception
getCurrentData in interface com.netflix.config.WatchedConfigurationSourceExceptionpublic void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionCopyright © 2016 Red Hat. All rights reserved.