Configuring a Datasource Using a Custom ConnectionProvider

Starting with Quartz 1.5.1, you can create a custom ConnectionProvider and configure Quartz to use it by providing the class name within the properties file:

org.quartz.dataSource.myConnProvider.connectionProvider.class = com.foo.MyConnectionProvider

After instantiating the class, Quartz can automatically set configuration properties on the instance, bean style.

org.quartz.dataSource.myConnProvider.someStringProperty = someValue
org.quartz.dataSource.myConnProvider.someIntProperty = 5







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
Simiral book on Amazon

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