Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
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.