@Order(value=0) public class ConsulPropertySourceLocator extends Object implements org.springframework.cloud.bootstrap.config.PropertySourceLocator
构造器和说明 |
---|
ConsulPropertySourceLocator(com.ecwid.consul.v1.ConsulClient consul,
ConsulConfigProperties properties) |
限定符和类型 | 方法和说明 |
---|---|
LinkedHashMap<String,Long> |
getContextIndexes() |
List<String> |
getContexts()
已过时。
|
org.springframework.core.env.PropertySource<?> |
locate(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> getContextIndexes()
@Retryable(interceptor="consulRetryInterceptor") public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment)
locate
在接口中 org.springframework.cloud.bootstrap.config.PropertySourceLocator
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.