August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface BundleContext
Bundle's execution context. Represents the execution context of a bundle within the framework. The context provides methods which allow the bundle to interact with the framework.
The provided methods allow a bundle to:
Subscribe to the events published by the framework.
Register services in the framework's service registry.
Retrieve references to service from the framework's service registry.
Get and release the service objects for a referenced service.
Install new bundles into the framework.
Get the list of installed bundles.
Get the Bundle object for a bundle.
Create File objects for files in a persistent storage area provided for the bundle by the framework.
A BundleContext object ...
Read now
Unlock full access