org.pentaho.platform.scheduler
Class QuartzSystemListener

java.lang.Object
  extended by org.pentaho.platform.scheduler.QuartzSystemListener
All Implemented Interfaces:
IPentahoSystemListener

public class QuartzSystemListener
extends Object
implements IPentahoSystemListener


Constructor Summary
QuartzSystemListener()
           
 
Method Summary
 Properties getQuartzProperties()
           
 String getQuartzPropertiesFile()
           
static org.quartz.Scheduler getSchedulerInstance()
           
 void setQuartzProperties(Properties quartzProperties)
           
 void setQuartzPropertiesFile(String quartzPropertiesFile)
           
 void setUseNewDatasourceService(boolean useNewService)
           
 void shutdown()
          Notification of system shutdown.
 boolean startup(IPentahoSession session)
          Notification of system startup.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuartzSystemListener

public QuartzSystemListener()
Method Detail

setUseNewDatasourceService

public void setUseNewDatasourceService(boolean useNewService)

startup

public boolean startup(IPentahoSession session)
Description copied from interface: IPentahoSystemListener
Notification of system startup. This event fires at the end of system initialization, after all system components have started successfully.

Specified by:
startup in interface IPentahoSystemListener

shutdown

public void shutdown()
Description copied from interface: IPentahoSystemListener
Notification of system shutdown. This event fires right before the server context is shutdown.

Specified by:
shutdown in interface IPentahoSystemListener

getSchedulerInstance

public static org.quartz.Scheduler getSchedulerInstance()
                                                 throws SchedulerInitializationException
Returns:
Returns the schedulerInstance.
Throws:
Exception
SchedulerInitializationException

getQuartzProperties

public Properties getQuartzProperties()

setQuartzProperties

public void setQuartzProperties(Properties quartzProperties)

getQuartzPropertiesFile

public String getQuartzPropertiesFile()

setQuartzPropertiesFile

public void setQuartzPropertiesFile(String quartzPropertiesFile)