The question does arise, "why exactly do you want to do this?".  I felt
such a need once in the past, but ended by deciding that actually it
wasn't such a good idea.  If you want to use this to for indicate that for
example a component has switched from active to standby mode then you may
find you are pushing on a piece of string.

> Hi,
>
> I would like to change and add properties to an OSGI service. The only way
> I
> know requires access to the ServiceRegistration object of the service
> instance.
> However, this ServiceRegistration object cannot be retrieved from the OSGI
> registry, but is returned only when we register the service and therefore
> hardly available to a 3rd party that hasn¹t created the service.
>
> Is there any other way to change service properties or obtain the
> ServiceRegistration object?
> Thanks in advance
> Frank
>
>
>
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to