Highlighted

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

Avatar

Avatar

samsundar23

Avatar

samsundar23

samsundar23

06-07-2020

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.

Replies

Highlighted

Avatar

Avatar

Vaibhavi

MVP

Avatar

Vaibhavi

MVP

Vaibhavi
MVP

06-07-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

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

Highlighted

Avatar

Avatar

samsundar23

Avatar

samsundar23

samsundar23

17-07-2020

Thank you