public class

JiraSystemRestarterImpl

extends Object
implements JiraSystemRestarter
java.lang.Object
   ↳ com.atlassian.jira.util.system.JiraSystemRestarterImpl

Class Overview

Since this class causes PICO to commit suicide, it is very careful to be completely stateless and not keep references to any things inside PICO itself.

Summary

Public Constructors
JiraSystemRestarterImpl()
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.util.system.JiraSystemRestarter

Public Constructors

public JiraSystemRestarterImpl ()

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.