public interface ConfigurationResourceResolver
ConfigurationResolver
is the right place.Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.lang.String> |
getAllContextPaths(Resource resource)
Get all context paths for which context-aware configurations could be defined.
|
java.lang.String |
getContextPath(Resource resource)
Get the inner-most context path (deepest path) returned by
getAllContextPaths(Resource) . |
Resource |
getResource(Resource resource,
java.lang.String bucketName,
java.lang.String configName)
Get a context-aware singleton configuration resource defined by the given configuration name.
|
java.util.Collection<Resource> |
getResourceCollection(Resource resource,
java.lang.String bucketName,
java.lang.String configName)
Get a collection of context-aware configuration resources defined by the given configuration name.
|
Resource getResource(Resource resource, java.lang.String bucketName, java.lang.String configName)
resource
- Context resource to fetch configuration forbucketName
- Configuration "bucket" name. Each high-level configuration resolver should store
it's configuration data grouped in a child resource of the configuration resource. This is what
we call a "bucket", and the resource name is specified with this parameter.configName
- Configuration name or relative path.null
.java.util.Collection<Resource> getResourceCollection(Resource resource, java.lang.String bucketName, java.lang.String configName)
resource
- Context resource to fetch configuration forbucketName
- Configuration "bucket" name. Each high-level configuration resolver should store
it's configuration data grouped in a child resource of the configuration resource. This is what
we call a "bucket", and the resource name is specified with this parameter.configName
- Configuration name or relative path.java.lang.String getContextPath(Resource resource)
getAllContextPaths(Resource)
.resource
- Context resource to fetch configuration forjava.util.Collection<java.lang.String> getAllContextPaths(Resource resource)
resource
- Context resource to fetch configuration for"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"