It depends on if it is only exporting or exporting AND importing the
packages.
If it is only exporting, then the old packages from the old revision
will be available and so will the new packages from the new revision. Of
course, importing bundles will continue to import from the old bundle,
so you will need a refresh to get everything to be in the same class space.
If is is exporting AND importing it will be wired to the existing foo
and bar, but will export cdr 2.0.0 and car. Of course, if there are any
uses constraints among the packages, then this might not be possible.
-> richard
Alan D. Cabrera wrote:
Let's say I have a bundle that exports packages com.a.foo:1.0.0,
com.a.bar:1.0.0, and com.a.cdr:1.0.0. There are a number of bundles
that import com.a.foo.
Now, we update the bundle and the new bundle archive exports
com.a.foo:1.0.0, com.a.bar:1.0.0, com.a.cdr:2.0.0, and
com.a.car:1.0.0. I'm not sure what happens. I think that since the
old bundle archive has an export, com.a.foo:1.0.0, that's being used
nothing happens until a framework restart or the package com.a.foo is
refreshed.
Am I correct?
Regards,
Alan
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev