Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

samsundar23
Level 4
Level 4

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.

2 Replies
Vaibhavi_Gowda
Community Advisor
Community Advisor

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

osgi.PNG

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.

testclass.PNG