Quartz.ImplStdSchedulerFactory
Namespace: Quartz.Impl
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
public class StdSchedulerFactory : ISchedulerFactory
The StdSchedulerFactory type exposes the following members.
Name | Description | |
---|---|---|
StdSchedulerFactory |
Initializes a new instance of the StdSchedulerFactory class.
| |
StdSchedulerFactory(NameValueCollection) |
Initializes a new instance of the StdSchedulerFactory class.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetAllSchedulers | Returns a handle to all known Schedulers (made by any StdSchedulerFactory instance.). | |
GetDefaultScheduler |
Returns a handle to the default Scheduler, creating it if it does not
yet exist.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetScheduler(CancellationToken) |
Returns a handle to the Scheduler produced by this factory.
| |
GetScheduler(String, CancellationToken) | Returns a handle to the Scheduler with the given name, if it exists (if it has already been instantiated). | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Initialize |
Initialize the ISchedulerFactory.
| |
Initialize(NameValueCollection) |
Initialize the ISchedulerFactory with
the contents of the given key value collection object.
| |
Instantiate | ||
LoadType |
Needed while loadhelper is not constructed.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ValidateConfiguration |
By default a properties are loaded from App.config's quartz section. If that fails, then the file is loaded "quartz.config". If file does not exist, default configuration located (as a embedded resource) in Quartz.dll is loaded. If you wish to use a file other than these defaults, you must define the system property 'quartz.properties' to point to the file you want.
See the sample properties that are distributed with Quartz for information about the various settings available within the file.
Alternatively, you can explicitly Initialize the factory by calling one of the Initialize methods before calling GetScheduler(CancellationToken).
Instances of the specified IJobStore, IThreadPool, classes will be created by name, and then any additional properties specified for them in the config file will be set on the instance by calling an equivalent 'set' method. For example if the properties file contains the property 'quartz.jobStore. myProp = 10' then after the JobStore class has been instantiated, the property 'MyProp' will be set with the value. Type conversion to primitive CLR types (int, long, float, double, boolean, enum and string) are performed before calling the property's setter method.