Community
Participate
Working Groups
In the Equinox 3.5 release an implementation of an OSGi provisional API was included for composite bundles. This API includes all classes from the org.osgi.service.framework package. This provisional OSGi API has never been considered API by Equinox and as such has always been marked as x-internal. The OSGi Alliance has decided to reject this provisional API. It will never become a part of the official OSGi specification. Any users of the org.osgi.service.framework composite bundle API must migrate to using framework hooks to provide additional isolation within a single OSGi framework. See the sub-packages of org.osgi.framework.hooks for ways to control visibility/isolation for resolution, bundles and services. Equinox plans to remove the org.osgi.service.framework API and composite bundle implementation in the Summer of 2012 (after the 3.8 release). Equinox also has a region digraph implementation that allows for the definition and configuration of regions that can be used to isolate bundles. The region digraph is built on top of the OSGi framework hooks.
We can now delete this.
I plan to do this with the work I am doing to refactor the framework in preparation for Java 8 modules. The complication of composites in the core framework will make prototyping an Java 8 module interop very hard. It is unclear if this (Java 9 work) will be done in Kepler or not since the schedule for Java 8 is unclear. I will mark for Kepler anyways since we should consider doing the removal regardless of Java 8.
Seeing that M1 has crept up on me I am not going to push this in until M2. I am thinking of not doing this at all for Kepler since it is looking like Kepler is shaping up to be more of a maintenance release from the framework perspective.
(In reply to comment #3) > Seeing that M1 has crept up on me I am not going to push this in until M2. > I am thinking of not doing this at all for Kepler since it is looking like > Kepler is shaping up to be more of a maintenance release from the framework > perspective. I have decided to drop this for Kepler since it is mainly being used as a maintenance release and I don't really want to remove function in a maintenance release.
This has been done in the ongoing luna branch twatson/container.