Class JobRunShell

  • All Implemented Interfaces:
    java.lang.Runnable, SchedulerListener
    Direct Known Subclasses:
    JTAJobRunShell

    public class JobRunShell
    extends SchedulerListenerSupport
    implements java.lang.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.

    Author:
    James House
    See Also:
    JobRunShellFactory, QuartzSchedulerThread, Job, Trigger