com.atlassian.jira.upgrade
Class UpgradeLauncher

java.lang.Object
  extended by com.atlassian.jira.upgrade.UpgradeLauncher
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class UpgradeLauncher
extends Object
implements javax.servlet.ServletContextListener

Tests if an upgrade is neccessary, and performs it. Note that upgrades are performed on the same thread


Constructor Summary
UpgradeLauncher()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
          The upgrade runner loads the Upgrade Manager, which then performs any necessary upgrades.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeLauncher

public UpgradeLauncher()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
The upgrade runner loads the Upgrade Manager, which then performs any necessary upgrades.

Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 2002-2008 Atlassian. All Rights Reserved.