Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Composite bundle - a bundle whose contents is actually a set of bundles that appear to be running inside of another framework instance.
  • Composite parent Parent framework - the framework in which a composite bundle is installed.
  • Composite framework - the framework running inside the composite bundle (this term may not be necessary).

...

  • Import-Package - the packages imported by the composite bundle from the parent framework.
  • ExportRequire-PackageBundle - the packages exported bundles required by the composite bundle from the parent framework.
  • RequireExport-BundlePackage - the bundles required packages exported by the composite bundle to the parent framework.

For service dependencies, this proposal resurrects the following headers:

...

This composite contains five bundles and exports org.foo.shape from the bundle with the symbolic name org.foo.shape. Further, it also imports the log service package and any services implementing the org.foo.shape.SimpleShape interface from the package it exports.

This proposal introduces one final header, which is:

  • Provide-Bundle - a comma-delimited set of symbolic names specifying the constituent bundles provided by the composite bundle to the parent framework.

These declarative headers define the entire capabilities of a composite bundle. To summarize, these capabilities are: containing bundles, importing/exporting packages, requiring/providing bundles, and importing/exporting services.

Composite lifecycle management

Composite manager

Provided bundles

Open issues

Considered alternatives

...