Class ConfigServerConfigDataLocationResolver

java.lang.Object
org.springframework.cloud.config.client.ConfigServerConfigDataLocationResolver
All Implemented Interfaces:
org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>, org.springframework.core.Ordered

public class ConfigServerConfigDataLocationResolver extends Object implements org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>, org.springframework.core.Ordered
  • Field Details

  • Constructor Details

    • ConfigServerConfigDataLocationResolver

      public ConfigServerConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory factory)
  • Method Details

    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface org.springframework.core.Ordered
    • loadProperties

      protected org.springframework.cloud.config.client.ConfigServerConfigDataLocationResolver.PropertyHolder loadProperties(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, String uris)
    • createRestTemplate

      @Deprecated protected org.springframework.web.client.RestTemplate createRestTemplate(ConfigClientProperties properties)
      Deprecated.
    • getLog

      protected org.apache.commons.logging.Log getLog()
    • isResolvable

      public boolean isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, org.springframework.boot.context.config.ConfigDataLocation location)
      Specified by:
      isResolvable in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>
    • getPrefix

      protected String getPrefix()
    • resolve

      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
      Specified by:
      resolve in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>
      Throws:
      org.springframework.boot.context.config.ConfigDataLocationNotFoundException
      org.springframework.boot.context.config.ConfigDataResourceNotFoundException
    • resolveProfileSpecific

      public 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
      Specified by:
      resolveProfileSpecific in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ConfigServerConfigDataResource>
      Throws:
      org.springframework.boot.context.config.ConfigDataLocationNotFoundException