Avoid Split Packages

From OSGi Community Wiki

Jump to: navigation, search

The use of Split Packages (where the same package is exported by multiple bundles) can cause problems if both of those bundles are present. To avoid ambiguity you end up resorting to filters or Require-Bundle.

Split Packages were introduced in OSGi R4, which itself was spurred by the migration of Eclipse 3.0 onto the OSGi platform. They are generally considered best avoided and only used for legacy systems where you cannot rename the packages.

Personal tools
Namespaces
Variants
Actions
Navigation
JavaDoc
Wiki
Toolbox