How to unbind the OSGI configuration dynamically?

Avatar

Avatar

ashwiniv5325199

Avatar

ashwiniv5325199

ashwiniv5325199

28-11-2018

Hi All,

        How to unbind the OSGI Configuration dynamically from the servlet? Just for an example pls find the screenshot

1632064_pastedImage_0.png

Above screenshot contains "Unbind" option at the right bottom. How to unbind it dynamically instead of manunally click on "unbind" button.

Thanks & Regards,

Ashwini

View Entire Topic

Avatar

Avatar

yanirac19051392

Employee

Avatar

yanirac19051392

Employee

yanirac19051392
Employee

16-07-2019

You should review Felix SCR Annotations [1] for the unbind.  Also this example might help you [2]

[1] Apache Felix - SCR Annotations

[2] OSGI in AEM6.3 – AEM PEDIA