@Deprecated public interface ParametrizableResourceProvider
/content/test;v='1.0'. If a
ResourceProviderimplements this interface, the
getResource(ResourceResolver, String, Map)method is called instead of
ResourceProvider.getResource(ResourceResolver, String)if such parameters are available. If no map (or an empty map) is available,
ResourceProvider.getResource(ResourceResolver, String)is called.
|Modifier and Type||Method and Description|
Returns a resource from this resource provider or
Resource getResource(ResourceResolver resourceResolver, java.lang.String path, java.util.Map<java.lang.String,java.lang.String> parameters)
nullif the resource provider cannot find it. The path should have one of the
ResourceProvider.ROOTSstrings as its prefix. The resource provider must not return cached instances for a resource as the resource resolver will update the resource metadata of the resource at the end of the resolution process and this metadata might be different depending on the full path of resource resolution passed into the resource resolver.
ResourceResolverto which the returned
path- The full path of the resource.
parameters- A map of additional parameters, the map contains at least one parameter.
nullIf this provider does not have a resource for the path.
SlingException- may be thrown in case of any problem creating the
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"