Save This Page
Home » quartz-1.6.0 » org.quartz.ee » jta » [javadoc | source]
org.quartz.ee.jta
public class: JTAJobRunShell [javadoc | source]
java.lang.Object
   org.quartz.core.JobRunShell
      org.quartz.ee.jta.JTAJobRunShell

All Implemented Interfaces:
    Runnable

An extension of org.quartz.core.JobRunShell that begins an XA transaction before executing the Job, and commits (or rolls-back) the transaction after execution completes.

Fields inherited from org.quartz.core.JobRunShell:
jec,  qs,  scheduler,  schdCtxt,  jobRunShellFactory,  shutdownRequested
Constructor:
 public JTAJobRunShell(JobRunShellFactory jobRunShellFactory,
    Scheduler scheduler,
    SchedulingContext schdCtxt) 

    Create a JTAJobRunShell instance with the given settings.

Method from org.quartz.ee.jta.JTAJobRunShell Summary:
begin,   complete,   passivate
Methods from org.quartz.core.JobRunShell:
begin,   complete,   completeTriggerRetryLoop,   getLog,   initialize,   passivate,   requestShutdown,   run,   vetoedJobRetryLoop
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.ee.jta.JTAJobRunShell Detail:
 protected  void begin() throws SchedulerException 
 protected  void complete(boolean successfulExecution) throws SchedulerException 
 public  void passivate() 
    Override passivate() to ensure we always cleanup the UserTransaction.