public class ConfigTreeConfigDataLocationResolver extends Object implements ConfigDataLocationResolver<ConfigTreeConfigDataResource>
ConfigDataLocationResolver
for config tree locations.Constructor and Description |
---|
ConfigTreeConfigDataLocationResolver(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.
|
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(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 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.