Poco::OSP

class BundleEvents

File Information

Library: OSP
Package: Bundle
Header: Poco/OSP/BundleEvents.h

Description

This class provides various events that interested parties can subscribe to to become notified whenever the state of a bundle in the system changes.

Constructors

BundleEvents

BundleEvents();

Creates a BundleEvents object.

Destructor

~BundleEvents

~BundleEvents();

Destroys the BundleEvents object.

Variables

bundleFailed

Poco::BasicEvent < BundleEvent > bundleFailed;

Fired after a bundle has failed to start due to an exception being thrown by its BundleActivator. The bundle is still in "resolved" state.

bundleInstalled

Poco::BasicEvent < BundleEvent > bundleInstalled;

Fired after a bundle has been successfully installed.

bundleLoaded

Poco::BasicEvent < BundleEvent > bundleLoaded;

Fired after a bundle has been successfully loaded. The bundle is still in "installed" state.

bundleResolved

Poco::BasicEvent < BundleEvent > bundleResolved;

Fired when resolving a bundle is completed. and the bundle is in "resolved" state.

bundleResolving

Poco::BasicEvent < BundleEvent > bundleResolving;

Fired when resolving a bundle starts. The bundle is still in "installed" state.

bundleStarted

Poco::BasicEvent < BundleEvent > bundleStarted;

Fired when starting a bundle is completed and the bundle has entered "active" state.

bundleStarting

Poco::BasicEvent < BundleEvent > bundleStarting;

Fired when a bundle is starting and the bundle has entered "starting" state.

bundleStopped

Poco::BasicEvent < BundleEvent > bundleStopped;

Fired when a bundle has been stopped and the bundle has entered "resolved" state.

bundleStopping

Poco::BasicEvent < BundleEvent > bundleStopping;

Fired when a bundle is stopped and the bundle has entered "stopping" state.

bundleUninstalled

Poco::BasicEvent < BundleEvent > bundleUninstalled;

Fired when uninstalling a bundle has completed and the bundle is in "uninstalled" state.

bundleUninstalling

Poco::BasicEvent < BundleEvent > bundleUninstalling;

Fired when uninstalling a bundle has started. The bundle is still in "installed" state.

bundleUnloaded

Poco::BasicEvent < BundleEvent > bundleUnloaded;

Fired after a bundle has been successfully unloaded. The bundle is still in "installed" or "resolved" state.