Community
Participate
Working Groups
We from MTJ requires to add a hook to OSGI to handle our preprocessing stuff. At the moment we extend/implement a series of classes that are not being exported as an API, such as: - org.eclipse.osgi.baseadaptor.HookConfigurator - org.eclipse.osgi.baseadaptor.HookRegistry - org.eclipse.osgi.baseadaptor.BaseData - org.eclipse.osgi.baseadaptor.bundlefile.BundleEntry - org.eclipse.osgi.baseadaptor.hooks.ClassLoadingHook - org.eclipse.osgi.baseadaptor.loader.BaseClassLoader - org.eclipse.osgi.baseadaptor.loader.ClasspathEntry - org.eclipse.osgi.baseadaptor.loader.ClasspathManager - org.eclipse.osgi.framework.adaptor.BundleProtectionDomain - org.eclipse.osgi.framework.adaptor.ClassLoaderDelegate - org.eclipse.osgi.framework.debug.FrameworkDebugOptions All this classes are not marked as internal, but are not also public in the Export-Package Could this classes made available as a public API? We are asking this because Galileo has one requirement that we should should leverage only published APIs.
These packages are considered SPI (which is not formally defined in Eclipse). They are not public API for clients. We do not want to export them, without x-internal, because we do not want them to be used by normal bundles. Instead they are SPI which fragments can use to plug-in to our internals. Since they are so tied to our internals we need more freedom to evolve these packages than real API.