Get the bundle context.
the bundle context
Provides access to the manifest metadata.
Optional
locale: stringe.g. de, en (optional)
the bundle header metadata.
Provides access to all services registered by this bundle.
an array of service references
Provides access to all services used (consumed) by this bundle.
an array of service references
Get the current state value of this bundle.
the current bundle state as number
Get the current bundle state name.
the current bundle state as string
The Framework (or 'system' bundle) is a special instance of a bundle. It has the id === 0 and some special methods