Configuring Quartz Listeners

Configuring Quartz listeners in the properties file involves specifying a name, the class name, and any other properties to be set on the instance. The listener class must have a no-arg constructor; the properties will be set reflectively. Only primitive data type values (including Strings) are supported.

Configuring a JobListener

To configure a JobListener, you must specify the class that implements the listener interface:

org.quartz.jobListener.NAME.class = com.foo.SomeListenerClass

NAME can be any name that you want to provide for the listener but should match the value returned from the getName() call to the class. You can provide properties for the listener that will be set reflectively:

org.quartz.jobListener.NAME.propName = propValue
org.quartz.jobListener.NAME.prop2Name = prop2Value



Scheduling in the Enterprise

Getting Started with Quartz

Hello, Quartz

Scheduling Jobs

Cron Triggers and More

JobStores and Persistence

Implementing Quartz Listeners

Using Quartz Plug-Ins

Using Quartz Remotely

Using Quartz with J2EE

Clustering Quartz

Quartz Cookbook

Quartz and Web Applications

Using Quartz with Workflow

Appendix A. Quartz Configuration Reference



Quartz Job Scheduling Framework(c) Building Open Source Enterprise Applications
Quartz Job Scheduling Framework: Building Open Source Enterprise Applications
ISBN: 0131886703
EAN: 2147483647
Year: N/A
Pages: 148

Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net