com.atlassian.jira.scheduler
Class JiraSchedulerLauncher

java.lang.Object
  extended by com.atlassian.scheduler.SchedulerLauncher
      extended by com.atlassian.jira.scheduler.JiraSchedulerLauncher
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class JiraSchedulerLauncher
extends com.atlassian.scheduler.SchedulerLauncher
implements javax.servlet.ServletContextListener

This implementation of the schedulerLauncher gets its scheduler from jira's ManagerFactory.

This explicit 'implements' clause is needed to work with certain buggy IBM JDKs. (see JRA-9186)


Constructor Summary
JiraSchedulerLauncher()
           
 
Method Summary
protected  boolean canCreateScheduler()
          This ends up being called back by super.contextInitialized(servletContextEvent);
 void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
           
 
Methods inherited from class com.atlassian.scheduler.SchedulerLauncher
contextDestroyed, getScheduler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.ServletContextListener
contextDestroyed
 

Constructor Detail

JiraSchedulerLauncher

public JiraSchedulerLauncher()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent servletContextEvent)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener
Overrides:
contextInitialized in class com.atlassian.scheduler.SchedulerLauncher

canCreateScheduler

protected boolean canCreateScheduler()
This ends up being called back by super.contextInitialized(servletContextEvent);

Overrides:
canCreateScheduler in class com.atlassian.scheduler.SchedulerLauncher
Returns:
true if the JIRA is setup


Copyright © 2002-2009 Atlassian. All Rights Reserved.