org.springframework.integration.quartz
Class QuartzScheduleServiceProvider.InterruptableMethodInvokingJob

java.lang.Object
  extended by org.springframework.scheduling.quartz.QuartzJobBean
      extended by org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
          extended by org.springframework.integration.quartz.QuartzScheduleServiceProvider.InterruptableMethodInvokingJob
All Implemented Interfaces:
org.quartz.InterruptableJob, org.quartz.Job
Enclosing class:
QuartzScheduleServiceProvider

public static class QuartzScheduleServiceProvider.InterruptableMethodInvokingJob
extends org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
implements org.quartz.InterruptableJob

Wrapper class allowing for Quartz jobs to be interrupted.


Field Summary
private  java.lang.Thread executionThread
           
 
Fields inherited from class org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
logger
 
Constructor Summary
QuartzScheduleServiceProvider.InterruptableMethodInvokingJob()
           
 
Method Summary
protected  void executeInternal(org.quartz.JobExecutionContext context)
           
 void interrupt()
           
 
Methods inherited from class org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
setMethodInvoker
 
Methods inherited from class org.springframework.scheduling.quartz.QuartzJobBean
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.quartz.Job
execute
 

Field Detail

executionThread

private java.lang.Thread executionThread
Constructor Detail

QuartzScheduleServiceProvider.InterruptableMethodInvokingJob

public QuartzScheduleServiceProvider.InterruptableMethodInvokingJob()
Method Detail

executeInternal

protected void executeInternal(org.quartz.JobExecutionContext context)
                        throws org.quartz.JobExecutionException
Overrides:
executeInternal in class org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean.MethodInvokingJob
Throws:
org.quartz.JobExecutionException

interrupt

public void interrupt()
               throws org.quartz.UnableToInterruptJobException
Specified by:
interrupt in interface org.quartz.InterruptableJob
Throws:
org.quartz.UnableToInterruptJobException