Package com.day.cq.wcm.webservicesupport
Interface ServiceLibFinder
public interface ServiceLibFinder
The
ServiceLibFinder provides methods to look up JS Library Code for Page-inclusion-
Method Summary
Modifier and TypeMethodDescriptiongetComponentReferences(String[] servicePaths) Returns the component references defined by the services for head inclusion.getScriptPaths(String[] servicePaths) Returns the path of the scripts defined by the services for head inclusion.
-
Method Details
-
getScriptPaths
Returns the path of the scripts defined by the services for head inclusion.- Parameters:
servicePaths- array of servicePaths.- Returns:
- Paths to the scripts that should be included for the services to work in a page
-
getComponentReferences
Returns the component references defined by the services for head inclusion.A component reference is simply a resource type, e.g. the cq/webservices/components/mywebservice
- Parameters:
servicePaths- array of servicePaths.- Returns:
- a list of component references, possiby empty, but never null
-