Versions Compared

Key

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

...

No Format
Bundle-Activator: tutorial.example4.Activator
Import-Package: tutorial.example2.service
Bundle-Name: Dynamic dictionary client
Bundle-Description: A bundle that uses the dictionary service whenever it becomes available
Bundle-Vendor: RichardApache HallFelix
Bundle-Version: 1.0.0

We specify the class to activate our bundle via the Bundle-Activator attribute and also specify that our bundle imports the shared package of the dictionary service interface using the Import-Package attribute. This import clause will be fulfilled by the bundle in Example 2, which exports the package that this bundle is importing. The OSGi framework will automatically handle the details of resolving import packages.

...