Package org.exoplatform.commons.upgrade
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final org.exoplatform.commons.api.settings.data.Context -
Constructor Summary
ConstructorsConstructorDescriptionUpgradeProductService(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 Summary
Modifier and TypeMethodDescriptionvoidaddUpgradePlugin(UpgradeProductPlugin upgradeProductPlugin) Method called by eXo Kernel to inject upgrade pluginsbooleanisDone()voidstart()This method is called by eXo Kernel when starting the parent ExoContainervoidstop()
-
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
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:
startin interfaceorg.exoplatform.commons.cluster.StartableClusterAware
-
stop
public void stop()- Specified by:
stopin interfaceorg.exoplatform.commons.cluster.StartableClusterAware
-
isDone
public boolean isDone()- Specified by:
isDonein interfaceorg.exoplatform.commons.cluster.StartableClusterAware
-
getUpgradePlugins
-