@ProviderType public interface SlingScriptResolver
ScriptResolverinterface defines the API for a service capable of locating scripts. Where the script is actually located is an implementation detail of the service implementation.
@CheckForNull SlingScript findScript(@Nonnull ResourceResolver resourceResolver, @Nonnull String name)
SlingScriptfor the given name.
The semantic meaning of the name is implementation specific: It may be an
absolute path to a
Resource providing the script source or
it may be a relative path resolved according to some path settings.
Finally, the name may also just be used as an identifier to find the
script in some registry.
Copyright © 2015 The Apache Software Foundation. All rights reserved.