Calendars in Quartz.Net–Part 1

In this series of posts we will cover the use of calendars in Quartz.Net. In this first post we’ll start off by explaining what calendars are and what they’re used for. We’ll also describe all of the calendars that are included with the Quartz.Net distribution. In following posts we’ll look at examples of how to use the different calendars and eventually we’ll build our own custom calendar.

Continue Reading

Creating a Custom Quartz.Net JobFactory

In this post we’ll walk through the creation of a custom Quartz.Net JobFactory that uses dependency injection to pass dependencies to our jobs. We’ll be using Castle Windsor for this example, but you can use any dependency injection framework you want. We discussed the Qartz.Net IJobFactory interface in detail previously, so read that first if you haven’t yet.

Continue Reading

Quartz.Net Job Factories

In my previous post we talked about the IJobFactory interface in detail. Today we will look at the 2 job factories that are included in the Quartz.Net distribution. SimpleJobFactory We will look at the SimpleJobFacotry first, since it is the base class used by the other job factory. This is a pretty simple implementation, so let’s look at the source code and talk about it in detail.

Continue Reading

Quartz.Net IJobFactory Interface

The Quartz.Net scheduler implements the factory method pattern to create the jobs that will be executed. Job factories are responsible for producing job instances. When you download the Quartz.Net distribution you get 2 different job factories. Today we will look at the IJobFactory interface in detail. In a later post we’ll look at the job factories that are included in the Quartz.

Continue Reading