JobRunShell Class

Quartz.NET 3.0 API Documentation
JobRunShell instances are responsible for providing the 'safe' environment for IJob s to run in, and for performing all of the work of executing the IJob, catching ANY thrown exceptions, updating the ITrigger with the IJob's completion code, etc.

A JobRunShell instance is created by a IJobRunShellFactory on behalf of the QuartzSchedulerThread which then runs the shell in a thread from the configured thread pool when the scheduler determines that a IJob has been triggered.

Inheritance Hierarchy

SystemObject
  Quartz.ListenerSchedulerListenerSupport
    Quartz.CoreJobRunShell

Namespace:  Quartz.Core
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public class JobRunShell : SchedulerListenerSupport

The JobRunShell type exposes the following members.

Constructors

  NameDescription
Public methodJobRunShell
Create a JobRunShell instance with the given settings.
Top
Methods

  NameDescription
Protected methodBegin
Runs begin procedures on this instance.
Protected methodComplete
Completes the execution.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitialize
Initializes the job execution context with given scheduler and bundle.
Public methodJobAdded (Inherited from SchedulerListenerSupport.)
Public methodJobDeleted (Inherited from SchedulerListenerSupport.)
Public methodJobInterrupted (Inherited from SchedulerListenerSupport.)
Public methodJobPaused (Inherited from SchedulerListenerSupport.)
Public methodJobResumed (Inherited from SchedulerListenerSupport.)
Public methodJobScheduled (Inherited from SchedulerListenerSupport.)
Public methodJobsPaused (Inherited from SchedulerListenerSupport.)
Public methodJobsResumed (Inherited from SchedulerListenerSupport.)
Public methodJobUnscheduled (Inherited from SchedulerListenerSupport.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPassivate
Passivates this instance.
Public methodRequestShutdown
Requests the Shutdown.
Public methodRun
This method has to be implemented in order that starting of the thread causes the object's run method to be called in that separately executing thread.
Public methodSchedulerError (Inherited from SchedulerListenerSupport.)
Public methodSchedulerInStandbyMode (Inherited from SchedulerListenerSupport.)
Public methodSchedulerShutdown (Inherited from SchedulerListenerSupport.)
Public methodSchedulerShuttingdown (Overrides SchedulerListenerSupportSchedulerShuttingdown(CancellationToken).)
Public methodSchedulerStarted (Inherited from SchedulerListenerSupport.)
Public methodSchedulerStarting (Inherited from SchedulerListenerSupport.)
Public methodSchedulingDataCleared (Inherited from SchedulerListenerSupport.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTriggerFinalized (Inherited from SchedulerListenerSupport.)
Public methodTriggerPaused (Inherited from SchedulerListenerSupport.)
Public methodTriggerResumed (Inherited from SchedulerListenerSupport.)
Public methodTriggersPaused (Inherited from SchedulerListenerSupport.)
Public methodTriggersResumed (Inherited from SchedulerListenerSupport.)
Top
See Also

Reference