Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Access configuration of other OSGi configs

Avatar

Level 1

I need to access/read Configuration of OOTB services. Is it possible to do so?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
2 Replies

Avatar

Correct answer by
Community Advisor

hello @learningNeverSt 

 

You can use ConfigurationAdmin API to achieve the same

Sample code is available on https://techrevel.blog/2020/09/20/configurationadmin-access-osgi-configuration-of-other-services/

 


Aanchal Sikka

Avatar

Employee Advisor

You should not do that. This is considered a private interface of the AEM services and it can change without much notification.