org.quartz.ee.jta
Class JTAJobRunShell

java.lang.Object
  extended byorg.quartz.core.JobRunShell
      extended byorg.quartz.ee.jta.JTAJobRunShell
All Implemented Interfaces:
java.lang.Runnable

public class JTAJobRunShell
extends JobRunShell

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

Author:
James House
See Also:
JobRunShell

Field Summary
 
Fields inherited from class org.quartz.core.JobRunShell
jec, jobRunShellFactory, qs, schdCtxt, scheduler, shutdownRequested
 
Constructor Summary
JTAJobRunShell(JobRunShellFactory jobRunShellFactory, Scheduler scheduler, SchedulingContext schdCtxt, UserTransactionHelper userTxHelper)
           Create a JTAJobRunShell instance with the given settings.
 
Method Summary
protected  void begin()
           
protected  void complete(boolean successfulExecution)
           
 
Methods inherited from class org.quartz.core.JobRunShell
completeTriggerRetryLoop, initialize, passivate, requestShutdown, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTAJobRunShell

public JTAJobRunShell(JobRunShellFactory jobRunShellFactory,
                      Scheduler scheduler,
                      SchedulingContext schdCtxt,
                      UserTransactionHelper userTxHelper)

Create a JTAJobRunShell instance with the given settings.

Method Detail

begin

protected void begin()
              throws SchedulerException
Overrides:
begin in class JobRunShell
Throws:
SchedulerException

complete

protected void complete(boolean successfulExecution)
                 throws SchedulerException
Overrides:
complete in class JobRunShell
Throws:
SchedulerException

Quartz Project Page