public class ConfigServicePropertySourceLocator extends Object implements PropertySourceLocator
| Constructor and Description |
|---|
ConfigServicePropertySourceLocator(ConfigClientProperties defaults) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.env.PropertySource<?> |
locate(org.springframework.core.env.Environment environment) |
void |
setRestTemplate(org.springframework.web.client.RestTemplate restTemplate) |
public ConfigServicePropertySourceLocator(ConfigClientProperties defaults)
@Retryable(interceptor="configServerRetryInterceptor") public org.springframework.core.env.PropertySource<?> locate(org.springframework.core.env.Environment environment)
locate in interface PropertySourceLocatorpublic void setRestTemplate(org.springframework.web.client.RestTemplate restTemplate)
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.