Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. update() is invoked.
  2. 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.



  3. If the platform version is not valid, the update stops. If the platform is valid, the OSGi method bundle.update is invoked

...

  1. start() is invoked.
  2. start() invokes the OSGi bundle.start method.
  3. The Dependency Manager invokes the ComponentBundleImpl.start() method.
  4. 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.
  5. 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.
  6. A check is done to see whether the service dependencies for the bundle are available.
  7. The services for the bundle are registered with the OSGi.

...