Needed the implementation getScriptPaths(String[] servicePaths) method from com.day.cq.wcm.webservicesupport.impl.ServiceLibFinderImpl ??? | Community
Skip to main content
samsundar23
Level 4
July 6, 2020

Needed the implementation getScriptPaths(String[] servicePaths) method from com.day.cq.wcm.webservicesupport.impl.ServiceLibFinderImpl ???

  • July 6, 2020
  • 1 reply
  • 1112 views

I could not find the method getScriptPaths(String[] servicePaths) from com.day.cq.wcm.webservicesupport.impl.ServiceLibFinderImpl anywhere.

Moreover I need to do some customizations in particular to that method.

Where can I find the implementation part of the getScriptPaths method.

Kindly help.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Vaibhavi_J
Level 7
July 6, 2020

Hi @samsundar23 

You can find the getScriptPaths(String[] servicePaths) method as part of cq-wcm-webservice-support-5.11.22.jar

Location:

1.Navigate to http://localhost:4502/system/console/bundles

2.Search for com.day.cq.wcm.cq-wcm-webservice-support bundle.

3. Check the bundle location.

launchpad:resources/install/0/cq-wcm-webservice-support-5.11.22.jar

4. You can find the jar under the below path. 

\crx-quickstart\launchpad\installer\rsrc-cq-wcm-webservice-support-5.11.26.jar-1593790028254.ser

5. Use java decompiler where you can find ServiceLibFinderImpl.java where getScriptPaths(String[] servicePaths) implementation is available.

samsundar23
Level 4
July 17, 2020

Thank you