How to avoid calling an Osgi service multiple times? | Community
Skip to main content
Level 2
July 15, 2024

How to avoid calling an Osgi service multiple times?

  • July 15, 2024
  • 1 reply
  • 618 views

If I have created a service say PolicyService and I should be able to call this service only once in say Component A in a webpage, and whatever value is returning or logic is being executed in PolicySevice should be rendered in all other components of the webpage? Basically service call should be happening only once when the webpage is loaded.

1 reply

Aditya_Chabuku
Community Advisor
Community Advisor
December 4, 2024

Hi @rekhaad7473 ,

 

I belive you have asked this question in wrong channel, please look for AEP channel here https://experienceleaguecommunities.adobe.com/t5/adobe-experience-platform/ct-p/adobe-experience-platform-community 

 

Regards,
Aditya

Thanks,Aditya Chabuku