@Order(value=0) public class ConsulPropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator, ConsulConfigIndexes
| Constructor and Description |
|---|
ConsulPropertySourceLocator(com.ecwid.consul.v1.ConsulClient consul,
ConsulConfigProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getContexts()
Deprecated.
|
LinkedHashMap<String,Long> |
getIndexes() |
org.springframework.core.env.PropertySource<?> |
locate(org.springframework.core.env.Environment environment) |
Collection<org.springframework.core.env.PropertySource<?>> |
locateCollection(org.springframework.core.env.Environment environment) |
public ConsulPropertySourceLocator(com.ecwid.consul.v1.ConsulClient consul,
ConsulConfigProperties properties)
@Deprecated public List<String> getContexts()
public LinkedHashMap<String,Long> getIndexes()
getIndexes in interface ConsulConfigIndexes@Retryable(interceptor="consulRetryInterceptor") public Collection<org.springframework.core.env.PropertySource<?>> locateCollection(org.springframework.core.env.Environment environment)
locateCollection in interface org.springframework.cloud.bootstrap.config.PropertySourceLocator@Retryable(interceptor="consulRetryInterceptor") public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment)
locate in interface org.springframework.cloud.bootstrap.config.PropertySourceLocatorCopyright © 2021 Pivotal Software, Inc.. All rights reserved.