Class ZookeeperConfigDataLocationResolver

java.lang.Object
org.springframework.cloud.zookeeper.config.ZookeeperConfigDataLocationResolver
All Implemented Interfaces:
org.springframework.boot.context.config.ConfigDataLocationResolver<ZookeeperConfigDataResource>

public class ZookeeperConfigDataLocationResolver extends Object implements org.springframework.boot.context.config.ConfigDataLocationResolver<ZookeeperConfigDataResource>
  • Field Details

  • Constructor Details

    • ZookeeperConfigDataLocationResolver

      public ZookeeperConfigDataLocationResolver(org.springframework.boot.logging.DeferredLogFactory logFactory)
  • Method Details

    • 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<ZookeeperConfigDataResource>
    • resolve

      public List<ZookeeperConfigDataResource> resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, org.springframework.boot.context.config.ConfigDataLocation location) throws org.springframework.boot.context.config.ConfigDataLocationNotFoundException
      Specified by:
      resolve in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ZookeeperConfigDataResource>
      Throws:
      org.springframework.boot.context.config.ConfigDataLocationNotFoundException
    • resolveProfileSpecific

      public List<ZookeeperConfigDataResource> resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext context, 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<ZookeeperConfigDataResource>
      Throws:
      org.springframework.boot.context.config.ConfigDataLocationNotFoundException
    • getCustomContexts

      protected List<ZookeeperPropertySources.Context> getCustomContexts(org.springframework.web.util.UriComponents uriComponents)
    • parseLocation

      @Nullable protected org.springframework.web.util.UriComponents parseLocation(org.springframework.boot.context.config.ConfigDataLocation location)
    • loadConfigProperties

      protected ZookeeperConfigProperties loadConfigProperties(org.springframework.boot.context.config.ConfigDataLocationResolverContext context)