public class JTAJobRunShell extends JobRunShell
An extension of that
begins an XA transaction before executing the Job, and commits (or
rolls-back) the transaction after execution completes.
JobRunShell
JobRunShell| Constructor and Description |
|---|
JTAJobRunShell(JobRunShellFactory jobRunShellFactory,
Scheduler scheduler,
SchedulingContext schdCtxt)
Create a JTAJobRunShell instance with the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
passivate()
Override passivate() to ensure we always cleanup the UserTransaction.
|
completeTriggerRetryLoop, initialize, requestShutdown, run, vetoedJobRetryLooppublic JTAJobRunShell(JobRunShellFactory jobRunShellFactory, Scheduler scheduler, SchedulingContext schdCtxt)
Create a JTAJobRunShell instance with the given settings.
public void passivate()
passivate in class JobRunShell