public interface ConfigurationResourceResolver
ConfigurationResolver
is the right place.| Modifier and Type | Method and Description |
|---|---|
Collection<String> |
getAllContextPaths(Resource resource)
Get all context paths for which context-aware configurations could be defined.
|
String |
getContextPath(Resource resource)
Get the inner-most context path (deepest path) returned by
getAllContextPaths(Resource). |
Resource |
getResource(Resource resource,
String bucketName,
String configName)
Get a context-aware singleton configuration resource defined by the given configuration name.
|
Collection<Resource> |
getResourceCollection(Resource resource,
String bucketName,
String configName)
Get a collection of context-aware configuration resources defined by the given configuration name.
|
Resource getResource(Resource resource, String bucketName, 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.Collection<Resource> getResourceCollection(Resource resource, String bucketName, 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.String getContextPath(Resource resource)
getAllContextPaths(Resource).resource - Context resource to fetch configuration forCollection<String> getAllContextPaths(Resource resource)
resource - Context resource to fetch configuration for"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"