In R6 chap 112 there is the org.osgi.service.component.runtime.ServiceComponentRuntime service that exposes (e.g) getComponentDescriptionDTO, enableComponent/disableComponent, etc. One thing that does not seem to be present, however, is any sort of listener/event structure for responding to component changes.

An example of what I mean by such a listener/event structure exists in the RemoteServiceAdminListener and RemoteServiceAdminEvent (and with EventAdmin for async).

Is there some other pattern for (e.g.) SCR tooling to respond to such runtime changes?

Thanks,

Scott

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

Reply via email to