Getting started with OSGi: Interacting with the Framework

Last time we looked at a simple Hello World bundle that printed a message when starting and stopping. It did that by implementing the BundleActivator interface and providing start and stop methods. Take another look at the code now, in particular the method signature of start and stop , and you'll notice that we were passed a parameter, the BundleContext. In this installment of the tutorial we will be looking at BundleContext and what we can do with it.

Categories: Equinox, OSGi

[html] EclipseZone Article
February 2007
by Neil Bartlett