Alan D. Cabrera wrote:

On Nov 13, 2009, at 7:51 AM, BJ Hargrave wrote:

If you optionally import the cm package and don't "get it" when you resolve, then you will never see CA, so just use the defaults.

I'm wondering if this is true. Can't another bundle get installed later that exports the package?


Regards,
Alan
Well even just checking for the cm package doesn't provide much value because it's typically provided by a bundle that contains all the Compendium interfaces (both Equinox and Felix have such a bundle). Finding the cm package gives you no guarantee whatsoever that the ConfigurationAdmin service is actually there.

Not finding it tells you that the ConfigurationAdmin service can't be there yet, but as you say it could be installed later...

David

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

Reply via email to