Events
Framework events
This is a list of events that are triggered when a framework state changes.
FrameworkEvent.types |
Event Service topic | Description |
---|---|---|
|
|
Fired after the framework and all preinstalled bundles are started. |
|
|
Fired when an error occurs within the framework. |
|
|
Fired during startup of the framework. |
|
|
Fired if the framework considers a state as warning and not as error. One situation where it is fired is if a bundle has defined an optional dependency to another bundle and this bundle is not installed. |
|
|
Fired when the framework is stopped |
Bundle events
This is a list of events that are triggered when a bundle state changes.
BundleEvent.types |
Event Service topic | Description |
---|---|---|
|
|
Fired when a bundle is installed. |
|
|
Fired when a bundle is started. |
|
|
Fired when a bundle is stopped. |
|
|
Fired when a bundle is uninstalled. |
|
|
Fired when a bundle enters the resolve phase. |
|
|
Fired when all classes (JavaScript sources) are resolved. |
|
|
Fired during the uninstallation of a bundle. |
|
|
Fired at the beginning of a bundle start. |
|
|
Fired at the beginning of a bundle stop. |
Service events
ServiceEvent.types |
Event Service topic | Description |
---|---|---|
|
|
Fired when a new service is registered. |
|
|
Fired when a service should be unregistered (consumers should |
|
|
Fired when the service properties of a service are changed. |