public interface

JiraSystemRestarter

com.atlassian.jira.util.system.JiraSystemRestarter
Known Indirect Subclasses

Class Overview

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

Summary

Public Methods
void ariseSirJIRA()
This will stop essential services like the scheduler, restart PICO and then restart the essential services.
void ariseSirJIRAandUpgradeThySelf(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.

Public Methods

public 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.

public void ariseSirJIRAandUpgradeThySelf (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.