Skip to content

Latest commit

 

History

History
52 lines (35 loc) · 1.14 KB

api.rst

File metadata and controls

52 lines (35 loc) · 1.14 KB

API

This part of the documentation covers all the core classes and services of iPOPO.

BundleContext Object

The bundle context is the link between a bundle and the framework. It's by the context that you can register services, install other bundles.

pelix.framework.BundleContext

Framework Object

The Framework object is a singleton and can be accessed using get_bundle(0) <pelix.framework.BundleContext.get_bundle>. This class inherits the methods from pelix.framework.Bundle.

pelix.framework.Framework

Bundle Object

This object gives access to the description of an installed bundle. It is useful to check the path of the source module, the version, etc.

pelix.framework.Bundle

Events Objects

Those objects are given to listeners when a bundle or a service event occurs.

pelix.internals.events.BundleEvent

pelix.internals.events.ServiceEvent