IJobFactory Interface

Quartz.NET 3.0 API Documentation
A JobFactory is responsible for producing instances of IJob classes.

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

C#
public interface IJobFactory

The IJobFactory type exposes the following members.

Methods

  NameDescription
Public methodNewJob
Called by the scheduler at the time of the trigger firing, in order to produce a IJob instance on which to call Execute.
Public methodReturnJob
Allows the job factory to destroy/cleanup the job if needed.
Top
Remarks

This interface may be of use to those wishing to have their application produce IJob instances via some special mechanism, such as to give the opportunity for dependency injection.
See Also

Reference