com.atlassian.jira.scheduler
Class JiraSchedulerLauncher
java.lang.Object
com.atlassian.jira.scheduler.JiraSchedulerLauncher
- All Implemented Interfaces:
- JiraLauncher
- Direct Known Subclasses:
- JiraPassivatedSchedulerLauncher
public class JiraSchedulerLauncher
- extends Object
- implements JiraLauncher
Launches the JIRA scheduler.
Field Summary |
protected static com.atlassian.scheduler.SchedulerUtil |
schedulerUtil
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schedulerUtil
protected static final com.atlassian.scheduler.SchedulerUtil schedulerUtil
JiraSchedulerLauncher
public JiraSchedulerLauncher()
start
public void start()
- Description copied from interface:
JiraLauncher
- Called during JIRA "startup".
Despite no longer being multitenant, it is still a good idea to chunk this. The order is defined
in DefaultJiraLauncher
The logic for ordering all of this will be handled by the DefaultJiraLauncher.
- Specified by:
start
in interface JiraLauncher
- See Also:
DefaultJiraLauncher
proceedIfAllClear
protected void proceedIfAllClear()
checkAllClear
protected boolean checkAllClear()
canCreateScheduler
protected boolean canCreateScheduler()
- This ends up being called back by super.contextInitialized(servletContextEvent);
- Returns:
- true if the JIRA is setup
stop
public void stop()
- Description copied from interface:
JiraLauncher
- Called when JIRA is shutting down. Just like startup this can .
The logic of what exactly happens when is encapsulated in the DefaultJiraLauncher.
- Specified by:
stop
in interface JiraLauncher
- See Also:
DefaultJiraLauncher
getScheduler
protected org.quartz.Scheduler getScheduler()
throws org.quartz.SchedulerException
- Throws:
org.quartz.SchedulerException
Copyright © 2002-2013 Atlassian. All Rights Reserved.