public class ConfigServerConfigDataLocationResolver extends Object implements org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>, org.springframework.core.Ordered
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
Prefix for Config Server imports.
|
| Constructor and Description |
|---|
ConfigServerConfigDataLocationResolver(org.apache.commons.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.web.client.RestTemplate |
createRestTemplate(ConfigClientProperties properties)
Deprecated.
|
protected org.apache.commons.logging.Log |
getLog() |
int |
getOrder() |
protected String |
getPrefix() |
boolean |
isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
protected org.springframework.cloud.config.client.ConfigServerConfigDataLocationResolver.PropertyHolder |
loadProperties(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
String uris) |
List<ConfigServerConfigDataResource> |
resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
List<ConfigServerConfigDataResource> |
resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext,
org.springframework.boot.context.config.ConfigDataLocation location,
org.springframework.boot.context.config.Profiles profiles) |
public static final String PREFIX
public ConfigServerConfigDataLocationResolver(org.apache.commons.logging.Log log)
public int getOrder()
getOrder in interface org.springframework.core.Orderedprotected org.springframework.cloud.config.client.ConfigServerConfigDataLocationResolver.PropertyHolder loadProperties(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
String uris)
@Deprecated protected org.springframework.web.client.RestTemplate createRestTemplate(ConfigClientProperties properties)
protected org.apache.commons.logging.Log getLog()
public boolean isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location)
isResolvable in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>protected String getPrefix()
public List<ConfigServerConfigDataResource> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, org.springframework.boot.context.config.ConfigDataLocation location) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException, org.springframework.boot.context.config.ConfigDataResourceNotFoundException
resolve in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>org.springframework.boot.context.config.ConfigDataLocationNotFoundExceptionorg.springframework.boot.context.config.ConfigDataResourceNotFoundExceptionpublic List<ConfigServerConfigDataResource> resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext resolverContext, org.springframework.boot.context.config.ConfigDataLocation location, org.springframework.boot.context.config.Profiles profiles) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException
resolveProfileSpecific in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>org.springframework.boot.context.config.ConfigDataLocationNotFoundExceptionCopyright © 2022 Pivotal Software, Inc.. All rights reserved.