public class ZookeeperConfigDataLocationResolver extends Object implements org.springframework.boot.context.config.ConfigDataLocationResolver<ZookeeperConfigDataResource>
| Modifier and Type | Field and Description |
|---|---|
static String |
PREFIX
Zookeeper Config Data prefix.
|
| Constructor and Description |
|---|
ZookeeperConfigDataLocationResolver(org.apache.commons.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
protected List<String> |
getCustomContexts(org.springframework.web.util.UriComponents uriComponents) |
boolean |
isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
protected ZookeeperConfigProperties |
loadConfigProperties(org.springframework.boot.context.config.ConfigDataLocationResolverContext context) |
protected org.springframework.web.util.UriComponents |
parseLocation(org.springframework.boot.context.config.ConfigDataLocation location) |
List<ZookeeperConfigDataResource> |
resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
List<ZookeeperConfigDataResource> |
resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location,
org.springframework.boot.context.config.Profiles profiles) |
public static final String PREFIX
public ZookeeperConfigDataLocationResolver(org.apache.commons.logging.Log log)
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<ZookeeperConfigDataResource>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
resolve in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ZookeeperConfigDataResource>org.springframework.boot.context.config.ConfigDataLocationNotFoundExceptionpublic 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
resolveProfileSpecific in interface org.springframework.boot.context.config.ConfigDataLocationResolver<ZookeeperConfigDataResource>org.springframework.boot.context.config.ConfigDataLocationNotFoundExceptionprotected List<String> getCustomContexts(org.springframework.web.util.UriComponents uriComponents)
@Nullable protected org.springframework.web.util.UriComponents parseLocation(org.springframework.boot.context.config.ConfigDataLocation location)
protected ZookeeperConfigProperties loadConfigProperties(org.springframework.boot.context.config.ConfigDataLocationResolverContext context)
Copyright © 2021 Pivotal Software, Inc.. All rights reserved.