[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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