August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface BundleActivator
Customizes the starting and stopping of a bundle. BundleActivator is an interface that may be implemented by a bundle programmer that is called when the bundle is started or stopped. A bundle can only specify a single BundleActivator in the manifest.
When a bundle is started or stopped, the BundleActivator is called.
The framework can create instances of the bundle's BundleActivator as required. It is guaranteed, however, that if an instance's start(BundleContext) method executes successfully, that same instance's stop(BundleContext) method will be called when the bundle is to be stopped.
A bundle programmer specifies the BundleActivator through the Bundle-Activator Manifest ...
Read now
Unlock full access