|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quartz.listeners.SchedulerListenerSupport
org.quartz.core.JobRunShell
org.quartz.ee.jta.JTAJobRunShell
public class JTAJobRunShell
An extension of that
begins an XA transaction before executing the Job, and commits (or
rolls-back) the transaction after execution completes.
JobRunShell
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)
Create a JTAJobRunShell instance with the given settings. |
|
| Method Summary | |
|---|---|
protected void |
begin()
|
protected void |
complete(boolean successfulExecution)
|
void |
passivate()
Override passivate() to ensure we always cleanup the UserTransaction. |
| Methods inherited from class org.quartz.core.JobRunShell |
|---|
completeTriggerRetryLoop, getLog, initialize, requestShutdown, run, schedulerShuttingdown, vetoedJobRetryLoop |
| Methods inherited from class org.quartz.listeners.SchedulerListenerSupport |
|---|
jobAdded, jobDeleted, jobScheduled, jobsPaused, jobsResumed, jobUnscheduled, schedulerError, schedulerInStandbyMode, schedulerShutdown, schedulerStarted, triggerFinalized, triggersPaused, triggersResumed |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JTAJobRunShell(JobRunShellFactory jobRunShellFactory,
Scheduler scheduler,
SchedulingContext schdCtxt)
Create a JTAJobRunShell instance with the given settings.
| Method Detail |
|---|
protected void begin()
throws SchedulerException
begin in class JobRunShellSchedulerException
protected void complete(boolean successfulExecution)
throws SchedulerException
complete in class JobRunShellSchedulerExceptionpublic void passivate()
passivate in class JobRunShell
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||