Wednesday, March 4, 2009

Windsor facility for Quartz.NET

A few months ago I wrote a couple of adapters to integrate Quartz.Net into Windsor. These were loose components that you had to register yourself and the configuration wasn't very friendly. So I decided to wrap them in a facility to make things cleaner and easier.

This is what the facility provides:

Here's what it doesn't support:

  • These entities are NOT Windsor-managed (they are instantiated normally by Quartz instead)
  • Trigger and job group names

Note that it's up to you to register jobs with the appropriate lifestyle. Listeners can only have singleton lifestyle since they're injected in IScheduler which is itself a singleton.

Here are the bits:

 
{"cc_re__cc_re__cc_by_3_0": ["Archive1\"));' target='configBlogArchive1' title='Edit'>\n<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>\n</a>\n</span>\n</span>\n<div class='clear'></div>\n</div>\n</div><div class='widget Text' id='Text1'>\n<h2 class='title'>License</h2>\n<div class='widget-content'>\nUnless stated otherwise, all source code on this blog is released under the <a href=\"http://www.apache.org/licenses/LICENSE-2.0.html\">Apache Software License 2.0</a>. Content released under <a href=\"http://creativecommons.org/licenses/by/3.0/\">CC-by license</a>.\n</div>\n<div class='clear'></div>\n<span class='widget-item-control'>\n<span class='item-control blog-admin'>\n<a class='quickedit' href='//www.blogger.com/rearrange?blogID=8643857899806162280&widgetType=Text&widgetId=Text1&action=editWidget&sectionId=sidebar' onclick='return _WidgetManager._PopupConfig(document.getElementById(\"Text1\"));' target='configText1' title='Edit'>\n<img alt='' height='18' src='http://img1.blogblog.com/img/icon18_wrench_allbkg.png' width='18'/>\n</a>\n</span>"]}