Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

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

Avatar

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

Avatar

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