Hi all,

While discussing the development of a Management/Administrative API for
DS we came across a problem with respect to the
ComponentInstance.dispose() method when applied to an instance of a
service factory component.

There are basically two options:

 (1) dispose() applies to the component as a whole. That is the
     service is unregistered and all component instances are
     disposed off.

 (2) dispose() applies only to the component instance (object) on whose
     ComponentInstance object the method has been called.

>From reading the spec the second option seems correct. But thinking this
through in my understanding this means to deactivate an object which
 has been distributed to consumers by the service registry without
informing the service registry about that fact.

Thanks for any help.

Regards
Felix

_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to