public class ConfigTreeConfigDataLocationResolver extends java.lang.Object implements ConfigDataLocationResolver<ConfigTreeConfigDataResource>
ConfigDataLocationResolver
for config tree locations.Constructor and Description |
---|
ConfigTreeConfigDataLocationResolver(org.springframework.core.io.ResourceLoader resourceLoader) |
Modifier and Type | Method and Description |
---|---|
boolean |
isResolvable(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Returns if the specified location address can be resolved by this resolver.
|
java.util.List<ConfigTreeConfigDataResource> |
resolve(ConfigDataLocationResolverContext context,
ConfigDataLocation location)
Resolve a
ConfigDataLocation into one or more ConfigDataResource
instances. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
resolveProfileSpecific
public ConfigTreeConfigDataLocationResolver(org.springframework.core.io.ResourceLoader resourceLoader)
public boolean isResolvable(ConfigDataLocationResolverContext context, ConfigDataLocation location)
ConfigDataLocationResolver
isResolvable
in interface ConfigDataLocationResolver<ConfigTreeConfigDataResource>
context
- the location resolver contextlocation
- the location to check.public java.util.List<ConfigTreeConfigDataResource> resolve(ConfigDataLocationResolverContext context, ConfigDataLocation location)
ConfigDataLocationResolver
ConfigDataLocation
into one or more ConfigDataResource
instances.resolve
in interface ConfigDataLocationResolver<ConfigTreeConfigDataResource>
context
- the location resolver contextlocation
- the location that should be resolvedresources
in ascending priority order.