I'd like some details about which bundles should be stopped and started again when fragment bundles are installed.
Lets say that the following bundles are currently installed and started: com.foo.bar - version 1.0 com.foo.bar - version 1.1 So thats two bundles with the same symbolic name but different versions. Lets say that I install a fragment bundle with the following header: Fragment-Host: com.foo.bar;bundle-version=[1.1,1.1] In order to attach the fragment, I call refreshPackages(), passing in the com.foo.bar:1.1 bundle reference. The question is - how should an osgi framework determine the bundles that need to be re-resolved in this case? The spec describes how a graph is calculated from package imports and exports, but doesn't give details about how fragment bundles should affect the calculated graph. In my experience, the Equinox platform stops and starts both com.foo.bar bundles, not just the one that is indicated by the bundle-version header. Is this the correct behaviour?
_______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
