Hi all,
I'm now imlementing CT of OSGi-A R4.2 for CM.
Please assume that:
1. Conf1 with pid1 and locationA is created.
2. BundleA whose location is locationA registers a ManagedService
service with the pid1.
==> the service (updated method) will be called back with null prop.
3. Now, which should happen if setBundleLocation(null) of Conf1 is
called ?
Choice A: the service is called back again and the location of Conf1 is
dynamically set to locationA, because Conf1 is explicitly set as
"dynamic binding conf" and there exists the target bundle,
BundleA. (Just as if the ManagedService got registered at the
momement.)
Choise B: Nothing happens.
IMO, Choice A. In addition, the spec should be clarified on this point
in the future. (I don't mean, R4.2 cmpn spec should be fixed because it
is too late.)
# Current RI(Apache Felix impl) does as Choice B.
What do you think ?
Best regards,
---------------------
NTT Cyber Solutions Laboratories
Ikuo YAMASAKI
E-mail: [email protected]
TEL +81-46-859-8537 FAX +81-46-855-1282
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev