#include <celix_bundle_context.h>
The Service Bundle Tracking options can be used to fine tune the requested bundle tracker options.
void(* celix_bundle_tracker_options::onBundleEvent) (void *handle, const celix_bundle_event_t *event) OPTS_INIT |
- Parameters
-
handle | The handle, contains the value of the callbackHandle. |
event | The bundle event. Is only valid during the callback. |
void(* celix_bundle_tracker_options::onStarted) (void *handle, const celix_bundle_t *bundle) OPTS_INIT |
Tracker callback when a bundle is installed.
- Parameters
-
handle | The handle, contains the value of the callbackHandle. |
bundle | The bundle which has been started. The bundle pointer is only guaranteed to be valid during the callback. |
void(* celix_bundle_tracker_options::onStopped) (void *handle, const celix_bundle_t *bundle) OPTS_INIT |
Tracker callback when a bundle is removed.
- Parameters
-
handle | The handle, contains the value of the callbackHandle. |
bundle | The bundle which has been started. The bundle pointer is only guaranteed to be valid during the callback. |
void* callbackHandle celix_bundle_tracker_options::OPTS_INIT |
The optional callback pointer used in all the provided callback function (set, add, remove, setWithProperties, etc).
bool includeFrameworkBundle celix_bundle_tracker_options::OPTS_INIT |
Default the framework bundle (bundle id 0) will not trigger the callbacks. This is done, because the framework bundle is a special bundle which is generally not needed in the callbacks.
The documentation for this struct was generated from the following file: