public class StdScheduler extends java.lang.Object implements Scheduler
 An implementation of the Scheduler interface that directly
 proxies all method calls to the equivalent call on a given QuartzScheduler
 instance.
 
Scheduler, 
QuartzScheduler, 
SchedulingContextDEFAULT_FAIL_OVER_GROUP, DEFAULT_GROUP, DEFAULT_MANUAL_TRIGGERS, DEFAULT_RECOVERY_GROUP, FAILED_JOB_ORIGINAL_TRIGGER_FIRETIME_IN_MILLISECONDS, FAILED_JOB_ORIGINAL_TRIGGER_GROUP, FAILED_JOB_ORIGINAL_TRIGGER_NAME| Constructor and Description | 
|---|
StdScheduler(QuartzScheduler sched,
            SchedulingContext schedCtxt)
 Construct a  
StdScheduler instance to proxy the given
 QuartzScheduler instance, and with the given SchedulingContext. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addCalendar(java.lang.String calName,
           Calendar calendar,
           boolean replace,
           boolean updateTriggers)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
addGlobalJobListener(JobListener jobListener)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
addGlobalTriggerListener(TriggerListener triggerListener)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
addJob(JobDetail jobDetail,
      boolean replace)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
addJobListener(JobListener jobListener)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
addSchedulerListener(SchedulerListener schedulerListener)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
addTriggerListener(TriggerListener triggerListener)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
boolean | 
deleteCalendar(java.lang.String calName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
boolean | 
deleteJob(java.lang.String jobName,
         java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
Calendar | 
getCalendar(java.lang.String calName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
java.lang.String[] | 
getCalendarNames()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
SchedulerContext | 
getContext()
 Returns the  
SchedulerContext of the Scheduler. | 
java.util.List | 
getCurrentlyExecutingJobs()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
JobListener | 
getGlobalJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.util.List | 
getGlobalJobListeners()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
TriggerListener | 
getGlobalTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.util.List | 
getGlobalTriggerListeners()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
JobDetail | 
getJobDetail(java.lang.String jobName,
            java.lang.String jobGroup)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
java.lang.String[] | 
getJobGroupNames()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
JobListener | 
getJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.util.Set | 
getJobListenerNames()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.lang.String[] | 
getJobNames(java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
SchedulerMetaData | 
getMetaData()
 Get a  
SchedulerMetaData object describiing the settings
 and capabilities of the scheduler instance. | 
java.util.Set | 
getPausedTriggerGroups()
 Get the names of all  
 groups that are paused. | 
java.lang.String | 
getSchedulerInstanceId()
 Returns the instance Id of the  
Scheduler. | 
java.util.List | 
getSchedulerListeners()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.lang.String | 
getSchedulerName()
 Returns the name of the  
Scheduler. | 
Trigger | 
getTrigger(java.lang.String triggerName,
          java.lang.String triggerGroup)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
java.lang.String[] | 
getTriggerGroupNames()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
TriggerListener | 
getTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.util.Set | 
getTriggerListenerNames()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.lang.String[] | 
getTriggerNames(java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
Trigger[] | 
getTriggersOfJob(java.lang.String jobName,
                java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
int | 
getTriggerState(java.lang.String triggerName,
               java.lang.String triggerGroup)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
boolean | 
interrupt(java.lang.String jobName,
         java.lang.String groupName)
 Request the interruption, within this Scheduler instance, of all 
 currently executing instances of the identified  
Job, which 
 must be an implementor of the InterruptableJob interface. | 
boolean | 
isInStandbyMode()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
boolean | 
isPaused()
Deprecated.   
 | 
boolean | 
isShutdown()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
boolean | 
isStarted()
Whether the scheduler has been started. 
 | 
void | 
pause()
Deprecated.   
 | 
void | 
pauseAll()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
pauseJob(java.lang.String jobName,
        java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
pauseJobGroup(java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
pauseTrigger(java.lang.String triggerName,
            java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
pauseTriggerGroup(java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
boolean | 
removeGlobalJobListener(JobListener jobListener)
Deprecated. 
 
 | 
boolean | 
removeGlobalJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
boolean | 
removeGlobalTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
boolean | 
removeGlobalTriggerListener(TriggerListener triggerListener)
Deprecated. 
 
 | 
boolean | 
removeJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
boolean | 
removeSchedulerListener(SchedulerListener schedulerListener)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
boolean | 
removeTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
java.util.Date | 
rescheduleJob(java.lang.String triggerName,
             java.lang.String groupName,
             Trigger newTrigger)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
resumeAll()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
resumeJob(java.lang.String jobName,
         java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
resumeJobGroup(java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
resumeTrigger(java.lang.String triggerName,
             java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
resumeTriggerGroup(java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
java.util.Date | 
scheduleJob(JobDetail jobDetail,
           Trigger trigger)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
java.util.Date | 
scheduleJob(Trigger trigger)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
setJobFactory(JobFactory factory)
 Set the  
JobFactory that will be responsible for producing 
 instances of Job classes. | 
void | 
shutdown()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
shutdown(boolean waitForJobsToComplete)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
standby()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
start()
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
startDelayed(int seconds)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler. | 
void | 
triggerJob(java.lang.String jobName,
          java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
triggerJob(java.lang.String jobName,
          java.lang.String groupName,
          JobDataMap data)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
triggerJobWithVolatileTrigger(java.lang.String jobName,
                             java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
void | 
triggerJobWithVolatileTrigger(java.lang.String jobName,
                             java.lang.String groupName,
                             JobDataMap data)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
boolean | 
unscheduleJob(java.lang.String triggerName,
             java.lang.String groupName)
 Calls the equivalent method on the 'proxied'  
QuartzScheduler,
 passing the SchedulingContext associated with this
 instance. | 
public StdScheduler(QuartzScheduler sched, SchedulingContext schedCtxt)
 Construct a StdScheduler instance to proxy the given
 QuartzScheduler instance, and with the given SchedulingContext.
 
public java.lang.String getSchedulerName()
 Returns the name of the Scheduler.
 
getSchedulerName in interface Schedulerpublic java.lang.String getSchedulerInstanceId()
 Returns the instance Id of the Scheduler.
 
getSchedulerInstanceId in interface Schedulerpublic SchedulerMetaData getMetaData()
Scheduler
 Get a SchedulerMetaData object describiing the settings
 and capabilities of the scheduler instance.
 
Note that the data returned is an 'instantaneous' snap-shot, and that as soon as it's returned, the meta data values may be different.
getMetaData in interface Schedulerpublic SchedulerContext getContext() throws SchedulerException
 Returns the SchedulerContext of the Scheduler.
 
getContext in interface SchedulerSchedulerExceptionpublic void start()
           throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
start in interface SchedulerSchedulerException - if shutdown() has been called, or there is an
           error within the Scheduler.Scheduler.startDelayed(int), 
Scheduler.standby(), 
Scheduler.shutdown()public void startDelayed(int seconds)
                  throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
startDelayed in interface SchedulerSchedulerException - if shutdown() has been called, or there is an
           error within the Scheduler.Scheduler.start(), 
Scheduler.standby(), 
Scheduler.shutdown()public void pause()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
public void standby()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
standby in interface SchedulerScheduler.start(), 
Scheduler.pauseAll()public boolean isStarted()
 Note: This only reflects whether  has ever
 been called on this Scheduler, so it will return start()true even 
 if the Scheduler is currently in standby mode or has been 
 since shutdown.
 
isStarted in interface Schedulerstart(), 
isShutdown(), 
isInStandbyMode()public boolean isInStandbyMode()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
isInStandbyMode in interface SchedulerScheduler.standby(), 
Scheduler.start()public boolean isPaused()
isPaused in interface SchedulerScheduler.isInStandbyMode()public void shutdown()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
shutdown in interface SchedulerScheduler.shutdown(boolean)public void shutdown(boolean waitForJobsToComplete)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
shutdown in interface SchedulerwaitForJobsToComplete - if true the scheduler will not allow this method
          to return until all currently executing jobs have completed.Scheduler.shutdown()public boolean isShutdown()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
isShutdown in interface Schedulerpublic java.util.List getCurrentlyExecutingJobs()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getCurrentlyExecutingJobs in interface SchedulerJobExecutionContextpublic java.util.Date scheduleJob(JobDetail jobDetail, Trigger trigger) throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
scheduleJob in interface SchedulerSchedulerException - if the Job or Trigger cannot be added to the Scheduler, or
           there is an internal Scheduler error.public java.util.Date scheduleJob(Trigger trigger) throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
scheduleJob in interface SchedulerSchedulerException - if the indicated Job does not exist, or the Trigger cannot be
           added to the Scheduler, or there is an internal Scheduler
           error.public void addJob(JobDetail jobDetail, boolean replace) throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
addJob in interface SchedulerSchedulerException - if there is an internal Scheduler error, or if the Job is not
           durable, or a Job with the same name already exists, and
           replace is false.public boolean deleteJob(java.lang.String jobName,
                java.lang.String groupName)
                  throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
deleteJob in interface SchedulerSchedulerException - if there is an internal Scheduler error.public boolean unscheduleJob(java.lang.String triggerName,
                    java.lang.String groupName)
                      throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
unscheduleJob in interface SchedulerSchedulerExceptionpublic java.util.Date rescheduleJob(java.lang.String triggerName,
                           java.lang.String groupName,
                           Trigger newTrigger)
                             throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
rescheduleJob in interface SchedulertriggerName - The name of the Trigger to be replaced.groupName - The group name of the Trigger to be replaced.newTrigger - The new Trigger to be stored.null if a Trigger with the given
         name & group was not found and removed from the store, otherwise
         the first fire time of the newly scheduled trigger.SchedulerExceptionpublic void triggerJob(java.lang.String jobName,
              java.lang.String groupName)
                throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
triggerJob in interface SchedulerSchedulerExceptionpublic void triggerJob(java.lang.String jobName,
              java.lang.String groupName,
              JobDataMap data)
                throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
triggerJob in interface SchedulerjobName - the name of the Job to triggergroupName - the group name of the Job to triggerdata - the (possibly null) JobDataMap to be 
 associated with the trigger that fires the job immediately.SchedulerExceptionpublic void triggerJobWithVolatileTrigger(java.lang.String jobName,
                                 java.lang.String groupName)
                                   throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
triggerJobWithVolatileTrigger in interface SchedulerSchedulerExceptionpublic void triggerJobWithVolatileTrigger(java.lang.String jobName,
                                 java.lang.String groupName,
                                 JobDataMap data)
                                   throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
triggerJobWithVolatileTrigger in interface SchedulerjobName - the name of the Job to triggergroupName - the group name of the Job to triggerdata - the (possibly null) JobDataMap to be 
 associated with the trigger that fires the job immediately.SchedulerExceptionpublic void pauseTrigger(java.lang.String triggerName,
                java.lang.String groupName)
                  throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
pauseTrigger in interface SchedulerSchedulerExceptionScheduler.resumeTrigger(String, String)public void pauseTriggerGroup(java.lang.String groupName)
                       throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
pauseTriggerGroup in interface SchedulerSchedulerExceptionScheduler.resumeTriggerGroup(String)public void pauseJob(java.lang.String jobName,
            java.lang.String groupName)
              throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
pauseJob in interface SchedulerSchedulerExceptionScheduler.resumeJob(String, String)public java.util.Set getPausedTriggerGroups()
                                     throws SchedulerException
Scheduler
 Get the names of all  groups that are paused.
 Trigger
getPausedTriggerGroups in interface SchedulerSchedulerExceptionScheduler.getPausedTriggerGroups()public void pauseJobGroup(java.lang.String groupName)
                   throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
pauseJobGroup in interface SchedulerSchedulerExceptionScheduler.resumeJobGroup(String)public void resumeTrigger(java.lang.String triggerName,
                 java.lang.String groupName)
                   throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
resumeTrigger in interface SchedulerSchedulerExceptionScheduler.pauseTrigger(String, String)public void resumeTriggerGroup(java.lang.String groupName)
                        throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
resumeTriggerGroup in interface SchedulerSchedulerExceptionScheduler.pauseTriggerGroup(String)public void resumeJob(java.lang.String jobName,
             java.lang.String groupName)
               throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
resumeJob in interface SchedulerSchedulerExceptionScheduler.pauseJob(String, String)public void resumeJobGroup(java.lang.String groupName)
                    throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
resumeJobGroup in interface SchedulerSchedulerExceptionScheduler.pauseJobGroup(String)public void pauseAll()
              throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
pauseAll in interface SchedulerSchedulerExceptionScheduler.resumeAll(), 
Scheduler.pauseTriggerGroup(String), 
Scheduler.standby()public void resumeAll()
               throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
resumeAll in interface SchedulerSchedulerExceptionScheduler.pauseAll()public java.lang.String[] getJobGroupNames()
                                    throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getJobGroupNames in interface SchedulerSchedulerExceptionpublic Trigger[] getTriggersOfJob(java.lang.String jobName, java.lang.String groupName) throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getTriggersOfJob in interface SchedulerSchedulerExceptionpublic java.lang.String[] getJobNames(java.lang.String groupName)
                               throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getJobNames in interface SchedulerSchedulerExceptionpublic java.lang.String[] getTriggerGroupNames()
                                        throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getTriggerGroupNames in interface SchedulerSchedulerExceptionpublic java.lang.String[] getTriggerNames(java.lang.String groupName)
                                   throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getTriggerNames in interface SchedulerSchedulerExceptionpublic JobDetail getJobDetail(java.lang.String jobName, java.lang.String jobGroup) throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getJobDetail in interface SchedulerSchedulerExceptionpublic Trigger getTrigger(java.lang.String triggerName, java.lang.String triggerGroup) throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getTrigger in interface SchedulerSchedulerExceptionpublic int getTriggerState(java.lang.String triggerName,
                  java.lang.String triggerGroup)
                    throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getTriggerState in interface SchedulerSchedulerExceptionTrigger.STATE_NORMAL, 
Trigger.STATE_PAUSED, 
Trigger.STATE_COMPLETE, 
Trigger.STATE_ERROR, 
Trigger.STATE_BLOCKED, 
Trigger.STATE_NONEpublic void addCalendar(java.lang.String calName,
               Calendar calendar,
               boolean replace,
               boolean updateTriggers)
                 throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
addCalendar in interface SchedulerupdateTriggers - whether or not to update existing triggers that
 referenced the already existing calendar so that they are 'correct'
 based on the new trigger.SchedulerException - if there is an internal Scheduler error, or a Calendar with
           the same name already exists, and replace is
           false.public boolean deleteCalendar(java.lang.String calName)
                       throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
deleteCalendar in interface SchedulerSchedulerException - if there is an internal Scheduler error.public Calendar getCalendar(java.lang.String calName) throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getCalendar in interface SchedulerSchedulerExceptionpublic java.lang.String[] getCalendarNames()
                                    throws SchedulerException
 Calls the equivalent method on the 'proxied' QuartzScheduler,
 passing the SchedulingContext associated with this
 instance.
 
getCalendarNames in interface SchedulerSchedulerExceptionpublic void addGlobalJobListener(JobListener jobListener)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
addGlobalJobListener in interface Schedulerpublic void addJobListener(JobListener jobListener)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
addJobListener in interface Schedulerpublic boolean removeGlobalJobListener(JobListener jobListener)
removeGlobalJobListener(String)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
removeGlobalJobListener in interface Schedulerpublic boolean removeGlobalJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
removeGlobalJobListener in interface Schedulerpublic boolean removeJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
removeJobListener in interface Schedulerpublic java.util.List getGlobalJobListeners()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getGlobalJobListeners in interface Schedulerpublic java.util.Set getJobListenerNames()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getJobListenerNames in interface Schedulerpublic JobListener getGlobalJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getGlobalJobListener in interface Schedulerpublic JobListener getJobListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getJobListener in interface Schedulerpublic void addGlobalTriggerListener(TriggerListener triggerListener)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
addGlobalTriggerListener in interface Schedulerpublic void addTriggerListener(TriggerListener triggerListener)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
addTriggerListener in interface Schedulerpublic boolean removeGlobalTriggerListener(TriggerListener triggerListener)
removeGlobalTriggerListener(String)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
removeGlobalTriggerListener in interface Schedulerpublic boolean removeGlobalTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
removeGlobalTriggerListener in interface Schedulerpublic boolean removeTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
removeTriggerListener in interface Schedulerpublic java.util.List getGlobalTriggerListeners()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getGlobalTriggerListeners in interface Schedulerpublic java.util.Set getTriggerListenerNames()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getTriggerListenerNames in interface Schedulerpublic TriggerListener getGlobalTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getGlobalTriggerListener in interface Schedulerpublic TriggerListener getTriggerListener(java.lang.String name)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getTriggerListener in interface Schedulerpublic void addSchedulerListener(SchedulerListener schedulerListener)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
addSchedulerListener in interface Schedulerpublic boolean removeSchedulerListener(SchedulerListener schedulerListener)
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
removeSchedulerListener in interface Schedulerpublic java.util.List getSchedulerListeners()
 Calls the equivalent method on the 'proxied' QuartzScheduler.
 
getSchedulerListeners in interface Schedulerpublic boolean interrupt(java.lang.String jobName,
                java.lang.String groupName)
                  throws UnableToInterruptJobException
Scheduler
 Request the interruption, within this Scheduler instance, of all 
 currently executing instances of the identified Job, which 
 must be an implementor of the InterruptableJob interface.
 
 If more than one instance of the identified job is currently executing,
 the InterruptableJob#interrupt() method will be called on
 each instance.  However, there is a limitation that in the case that  
 interrupt() on one instances throws an exception, all 
 remaining  instances (that have not yet been interrupted) will not have 
 their interrupt() method called.
 
 If you wish to interrupt a specific instance of a job (when more than
 one is executing) you can do so by calling 
  to obtain a handle 
 to the job instance, and then invoke Scheduler.getCurrentlyExecutingJobs()interrupt() on it
 yourself.
 
This method is not cluster aware. That is, it will only interrupt instances of the identified InterruptableJob currently executing in this Scheduler instance, not across the entire cluster.
interrupt in interface SchedulerUnableToInterruptJobException - if the job does not implement
 InterruptableJob, or there is an exception while 
 interrupting the job.InterruptableJob.interrupt(), 
Scheduler.getCurrentlyExecutingJobs()public void setJobFactory(JobFactory factory) throws SchedulerException
Scheduler
 Set the JobFactory that will be responsible for producing 
 instances of Job classes.
 
 JobFactories may be of use to those wishing to have their application
 produce Job instances via some special mechanism, such as to
 give the opertunity for dependency injection.
 
setJobFactory in interface SchedulerSchedulerExceptionScheduler.setJobFactory(org.quartz.spi.JobFactory)