com.atlassian.jira.util.system
Interface JiraSystemRestarter

All Known Implementing Classes:
JiraSystemRestarterImpl

public interface JiraSystemRestarter

This manager can restart the JIRA world. This is used when JIRA needs to end the PICO world and then restart it.

Since:
v4.0

Method Summary
 void ariseSirJIRA()
          This will stop essential services like the scheduler, restart PICO and then restart the essential services.
 void ariseSirJIRAandUpgradeThySelf(javax.servlet.ServletContext servletContext)
          This will stop essential services like the scheduler, restart PICO and will then run the upgrades if they are needed and then finally restart the essential services.
 

Method Detail

ariseSirJIRA

void ariseSirJIRA()
This will stop essential services like the scheduler, restart PICO and then restart the essential services. No upgrades will be run when this method is invoked.


ariseSirJIRAandUpgradeThySelf

void ariseSirJIRAandUpgradeThySelf(javax.servlet.ServletContext servletContext)
This will stop essential services like the scheduler, restart PICO and will then run the upgrades if they are needed and then finally restart the essential services.

Parameters:
servletContext - this is needed to raise Johnson events as the upgrade happens.


Copyright © 2002-2010 Atlassian. All Rights Reserved.