[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] Question on "org.osgi.framework.system.packages"
- From: Thomas Watson <tjwatson@xxxxxxxxxx>
- Date: Wed, 8 Apr 2009 08:56:34 -0500
- Delivered-to: firstname.lastname@example.org
Your observation is correct. You either get the packages which the framework determined is available from the VM or you have to provide the complete list in the org.osgi.framework.system.packages yourself. In OSGi R4.2 (implemented in Equinox 3.5) we have added added a new property (org.osgi.framework.system.packages.extra) which can be used to add more packages to the ones the framework determines are available from the VM, but there is currently no "exclude" property.
Perhaps you should open a bug against OSGi athttps://www.osgi.org/bugzilla/
Sameera Jayasoma ---04/07/2009 02:48:25 PM---Hi
Sameera Jayasoma <sameera.madushan@xxxxxxxxx>
Equinox development mailing list <equinox-dev@xxxxxxxxxxx>
04/07/2009 02:48 PM
[equinox-dev] Question on "org.osgi.framework.system.packages"
The system property "org.osgi.framework.system.packages" allows the system bundle to export packages from the parent class loader. If we do not explicitly set this property Equinox will export all the packages visible to the parent class loader.
My requirement is to stop package "org.foo.bar" being exported through the system bundle. Is there a way to specify this in Equinox? The only solution I found is to set the "org.osgi.framework.system.packages" system property explicitly with the packages list except "org.foo.bar" package
equinox-dev mailing list