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

Категории