com.atlassian.confluence.upgrade
Class PluginFrameworkDependentUpgrader

java.lang.Object
  extended by com.atlassian.confluence.upgrade.PluginFrameworkDependentUpgrader
All Implemented Interfaces:
com.atlassian.config.lifecycle.LifecycleItem

public class PluginFrameworkDependentUpgrader
extends java.lang.Object
implements com.atlassian.config.lifecycle.LifecycleItem

Run the upgrade tasks that require that PluginFramework to be available. This LifecycleItem is responsible for pausing start up on all other cluster nodes that aren't actually performing an upgrade so that none of the other nodes complete start up (and start touching data).


Constructor Summary
PluginFrameworkDependentUpgrader()
           
 
Method Summary
 void setUpgradeGate(UpgradeGate upgradeGate)
           
 void setUpgradeManager(DefaultUpgradeManager upgradeManager)
           
 void shutdown(com.atlassian.config.lifecycle.LifecycleContext context)
           
 void startup(com.atlassian.config.lifecycle.LifecycleContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginFrameworkDependentUpgrader

public PluginFrameworkDependentUpgrader()
Method Detail

startup

public void startup(com.atlassian.config.lifecycle.LifecycleContext context)
             throws java.lang.Exception
Specified by:
startup in interface com.atlassian.config.lifecycle.LifecycleItem
Throws:
java.lang.Exception

shutdown

public void shutdown(com.atlassian.config.lifecycle.LifecycleContext context)
              throws java.lang.Exception
Specified by:
shutdown in interface com.atlassian.config.lifecycle.LifecycleItem
Throws:
java.lang.Exception

setUpgradeManager

public void setUpgradeManager(DefaultUpgradeManager upgradeManager)

setUpgradeGate

public void setUpgradeGate(UpgradeGate upgradeGate)


Copyright © 2003-2014 Atlassian. All Rights Reserved.