Bundle

Syntax

public interface Bundle

Description

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. ...

Get Programming Open Service Gateways with Java Embedded Server™ Technology now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.