Use of Spring. Scheduling. Quartz

Source: Internet
Author: User

Recently, I came into contact with the Spring. Net Framework and learned about its integration with Quartz. Net, namely the Spring. Scheduling. Quartz module.

Spring adopts the spring Core Injection idea through the encapsulation of Quartz. Net, which provides us with a simpler and more convenient use method. Of course, you can directly use Quartz. Net.

 

Spring. net version is 1.3.2, and this version of Spring. scheduling. quartz only supports Quartz. net (1.0.3), cannot support Quartz. net (> = 2.0.1)

Mainly some objects used by Spring. Scheduling. Quartz, which have been abandoned and abolished in Quartz. Net2.x. x, but changed to a more flexible interface method,

For example, the Quartz. JobExecutionContext of QuartzJobObject has been changed to Quartz. IJobExecutionContext in the later version.

 

In this case, when the Quartz. Net is upgraded from 1.0.3 to 2.x. x, compilation fails because the object does not exist. The pre-release version Spring. Scheduling. Quartz2 has been released on the official website.

Components see http://www.nuget.org/packages/Spring.Scheduling.Quartz2/2.0.0-RC1

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.