public class JobRunShell extends SchedulerListenerSupport implements Runnable
JobRunShell instances are responsible for providing the 'safe' environment for Job s to run in, and for performing all of the work of
executing the Job, catching ANY thrown exceptions, updating the Trigger with the Job's completion code, etc.
A JobRunShell instance is created by a JobRunShellFactory on behalf of the QuartzSchedulerThread which then
runs the shell in a thread from the configured ThreadPool when the scheduler determines that a Job has been triggered.
JobRunShellFactory,
QuartzSchedulerThread,
Job,
Trigger| Modifier and Type | Method and Description |
|---|---|
protected org.slf4j.Logger |
getLog()
Get the
for this class's category. |
void |
run() |
void |
schedulerShuttingdown()
Called by the
to inform the listener that it has begun the shutdown sequence. |
jobAdded, jobDeleted, jobScheduled, jobUnscheduled, schedulerError, schedulerInStandbyMode, schedulerShutdown, schedulerStarted, schedulingDataCleared, triggerFinalizedpublic void schedulerShuttingdown()
SchedulerListener
Called by the to inform the listener that it has begun the shutdown sequence.
Scheduler
schedulerShuttingdown in interface SchedulerListenerschedulerShuttingdown in class SchedulerListenerSupportprotected org.slf4j.Logger getLog()
SchedulerListenerSupportLogger for this class's category. This should be used by subclasses for logging.getLog in class SchedulerListenerSupportCopyright © 2011–2017 Knowm Inc.. All rights reserved.