Skip to content
Permalink
1.0.0
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

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.

.. autoclass:: pelix.framework.BundleContext
   :members:
   :inherited-members:


Framework Object

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

.. autoclass:: pelix.framework.Framework
   :members:

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.

.. autoclass:: pelix.framework.Bundle
   :members:
   :inherited-members:

Events Objects

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

.. autoclass:: pelix.internals.events.BundleEvent
   :members:

.. autoclass:: pelix.internals.events.ServiceEvent
   :members: