com.atlassian.jira.util.system
Class JiraSystemRestarterImpl
java.lang.Object
com.atlassian.jira.util.system.JiraSystemRestarterImpl
- All Implemented Interfaces:
- JiraSystemRestarter
public class JiraSystemRestarterImpl
- extends Object
- implements JiraSystemRestarter
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.
- 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JiraSystemRestarterImpl
public JiraSystemRestarterImpl()
ariseSirJIRA
public void ariseSirJIRA()
- Description copied from interface:
JiraSystemRestarter
- 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.
- Specified by:
ariseSirJIRA
in interface JiraSystemRestarter
ariseSirJIRAandUpgradeThySelf
public void ariseSirJIRAandUpgradeThySelf(javax.servlet.ServletContext servletContext)
- Description copied from interface:
JiraSystemRestarter
- 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.
- Specified by:
ariseSirJIRAandUpgradeThySelf
in interface JiraSystemRestarter
- Parameters:
servletContext
- this is needed to raise Johnson events as the upgrade happens.
Copyright © 2002-2013 Atlassian. All Rights Reserved.