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

SOLVED

Access Service from another AEM bundle

krithikas651547
Level 2
Level 2

Hi,

I have two aem projects say  A and B. I need to access the service in project A from B. Can you please let me know how to achieve this.

1 Accepted Solution
shunnar
Correct answer by
Employee
Employee

ServiceReference sr = bundleContext.getServiceReference(YourService.class.getName());

View solution in original post

1 Reply
shunnar
Correct answer by
Employee
Employee

ServiceReference sr = bundleContext.getServiceReference(YourService.class.getName());

View solution in original post