Package org.quartz.core
Class JobRunShell
java.lang.Object
org.quartz.listeners.SchedulerListenerSupport
org.quartz.core.JobRunShell
- All Implemented Interfaces:
Runnable,SchedulerListener
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.
- Author:
- James House
- See Also:
-
Method Summary
Methods inherited from class org.quartz.listeners.SchedulerListenerSupport
jobAdded, jobDeleted, jobScheduled, jobUnscheduled, schedulerError, schedulerInStandbyMode, schedulerShutdown, schedulerStarted, schedulingDataCleared, triggerFinalized
-
Method Details
-
schedulerShuttingdown
public void schedulerShuttingdown()Description copied from interface:SchedulerListenerCalled by theto inform the listener that it has begun the shutdown sequence.Scheduler- Specified by:
schedulerShuttingdownin interfaceSchedulerListener- Overrides:
schedulerShuttingdownin classSchedulerListenerSupport
-
getLog
protected org.slf4j.Logger getLog()Description copied from class:SchedulerListenerSupportGet thefor this class's category. This should be used by subclasses for logging.Logger- Overrides:
getLogin classSchedulerListenerSupport
-
run
public void run() -
getJobName
-