Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: How to use custom services in liferay module ext
Hi,
How to use liferay custom or default services in liferay module ext.
Thanks in advance.
How to use liferay custom or default services in liferay module ext.
Thanks in advance.
Hi Mushadiq,
I haven't tried it in an EXT to be honest, but I am wondering if you can use the ServiceTrackerUtil to look up the service? Something like this?
I haven't tried it in an EXT to be honest, but I am wondering if you can use the ServiceTrackerUtil to look up the service? Something like this?
ServiceTrackerList<myservice, myservice> serviceTrackerList = ServiceTrackerListFactory.open(bundleContext, MyService.class, filter);</myservice,>
Hi Mushadiq,
I haven't tried it in an EXT to be honest, but I am wondering if you can use the ServiceTrackerUtil to look up the service? Something like this?
I haven't tried it in an EXT to be honest, but I am wondering if you can use the ServiceTrackerUtil to look up the service? Something like this?
ServiceTrackerList<myservice, myservice> serviceTrackerList = ServiceTrackerListFactory.open(bundleContext, MyService.class, filter);</myservice,>
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™