...
update()
is invoked.A check is done to see whether the version number of the plugin or bundle has been incremented and is higher than the currently installed version. If the version number is not correctly incremented, the update stops. If the version number is correctly incremented, the platform validity is checked.
Note If the setting
enable_wcb_development_mode
in the XperienCentral Setup Tool (/web/setup) is set to “false”, this check is skipped.- If the platform version is not valid, the update stops. If the platform is valid, the OSGi method
bundle.update
is invoked
...
start()
is invoked.start()
invokes the OSGi bundle.start
method.- The Dependency Manager invokes the
ComponentBundleImpl.start()
method. - A check is done to determine whether the plugin is being started for the very first time. If it is the very first time the plugin has been started, the ComponentManager method
installBundle
is invoked. Proceed to step 6. - If the plugin is not being started for the very first time, a check is done to see whether the WCB plugin has been modified (updated). If the plugin has been modified, the ComponentManager method
updateBundle
is invoked. - A check is done to see whether the service dependencies for the bundle are available.
- The services for the bundle are registered with the OSGi.
...