August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface Bundle
A bundle installed in a framework. The bundle is the access point to define the life cycle of the bundle. Each bundle installed in the framework will have an associated Bundle object.
A bundle will have a unique identity, a long, choosen by the framework. This identity will not change during the life cycle of a bundle, even when the bundle is updated. Uninstalling and then reinstalling will create a new identity.
The Bundle has six states: UNINSTALLED, INSTALLED, RESOLVED, STARTING, STOPPING, and ACTIVE. The values assigned to these states have no specified ordering. They represent bit values that may be ORed together for the purposes of determining if a bundle is in one of a set of states. ...
Read now
Unlock full access