Hello,

Is it possible to update the configuration of a declarative service without
the reactivation?
I make this question because it seems the reactivation implies deleting the
service and creating a new one, something that is very inconvenient to me.
As a workaround, I declared in the component configuration a property named
service.pid with a value different from the component name and added the
entry <provide interface="org.osgi.service.cm.ManagedService" />.  This
seems to work, (apart the duplicate invocation of the update method when the
bundle starts), but I'm worried this might cause problems.

Thank you.

Joao

Reply via email to