public class ApolloConfigDataLocationResolver extends Object implements org.springframework.boot.context.config.ConfigDataLocationResolver<ApolloConfigDataResource>, org.springframework.core.Ordered
| Constructor and Description |
|---|
ApolloConfigDataLocationResolver(org.apache.commons.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
boolean |
isResolvable(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
List<ApolloConfigDataResource> |
resolve(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location) |
List<ApolloConfigDataResource> |
resolveProfileSpecific(org.springframework.boot.context.config.ConfigDataLocationResolverContext context,
org.springframework.boot.context.config.ConfigDataLocation location,
org.springframework.boot.context.config.Profiles profiles) |
public ApolloConfigDataLocationResolver(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<ApolloConfigDataResource>public List<ApolloConfigDataResource> 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<ApolloConfigDataResource>org.springframework.boot.context.config.ConfigDataLocationNotFoundExceptionorg.springframework.boot.context.config.ConfigDataResourceNotFoundExceptionpublic List<ApolloConfigDataResource> 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<ApolloConfigDataResource>org.springframework.boot.context.config.ConfigDataLocationNotFoundExceptionpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2021 Ctrip, Inc.. All rights reserved.