Class UpgradeProductService

java.lang.Object
org.exoplatform.commons.upgrade.UpgradeProductService
All Implemented Interfaces:
org.exoplatform.commons.cluster.StartableClusterAware

public class UpgradeProductService extends Object implements org.exoplatform.commons.cluster.StartableClusterAware
  • Field Details

    • UPGRADE_PRODUCT_CONTEXT

      public static final org.exoplatform.commons.api.settings.data.Context UPGRADE_PRODUCT_CONTEXT
  • Constructor Details

    • UpgradeProductService

      public UpgradeProductService(org.exoplatform.container.PortalContainer portalContainer, org.exoplatform.commons.info.ProductInformations productInformations, org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.container.xml.InitParams initParams)
  • Method Details

    • addUpgradePlugin

      public void addUpgradePlugin(UpgradeProductPlugin upgradeProductPlugin)
      Method called by eXo Kernel to inject upgrade plugins
      Parameters:
      upgradeProductPlugin -
    • start

      public void start()
      This method is called by eXo Kernel when starting the parent ExoContainer
      Specified by:
      start in interface org.exoplatform.commons.cluster.StartableClusterAware
    • stop

      public void stop()
      Specified by:
      stop in interface org.exoplatform.commons.cluster.StartableClusterAware
    • isDone

      public boolean isDone()
      Specified by:
      isDone in interface org.exoplatform.commons.cluster.StartableClusterAware
    • getUpgradePlugins

      public List<UpgradeProductPlugin> getUpgradePlugins()