Quartz Configuration Reference
来源:互联网 发布:linux就该这么学 下载 编辑:程序博客网 时间:2024/06/05 23:45
Configuration of Quartz is typically done through the use of a properties file, in conjunction with the use of StdSchedulerFactory (which consumes the configuration file and instantiates a scheduler).
By default, StdSchedulerFactory load a properties file named “quartz.properties” from the ‘current working directory’. If that fails, then the “quartz.properties” file located (as a resource) in the org/quartz package is loaded. If you wish to use a file other than these defaults, you must define the system property ‘org.quartz.properties’ to point to the file you want.
Alternatively, you can explicitly initialize the factory by calling one of the initialize(xx) methods before calling getScheduler() on the StdSchedulerFactory.
Instances of the specified JobStore, ThreadPool, and other SPI classes will be created by name, and then any additional properties specified for them in the config file will be set on the instance by calling an equivalent ‘set’ method. For example if the properties file contains the property ‘org.quartz.jobStore.myProp = 10’ then after the JobStore class has been instantiated, the method ‘setMyProp()’ will be called on it. Type conversion to primitive Java types (int, long, float, double, boolean, and String) are performed before calling the property’s setter method.
One property can reference another property’s value by specifying a value following the convention of “$@other.property.name”, for example, to reference the scheduler’s instance name as the value for some other property, you would use “$@org.quartz.scheduler.instanceName”.
The properties for configuring various aspect of a scheduler are described in these sub-documents:
Choose a topic:
- Main Configuration (configuration of primary scheduler settings, transactions)
- Configuration of ThreadPool (tune resources for job execution)
- Configuration of Listeners (your application can receive notification of scheduled events)
- Configuration of Plug-Ins (add functionality to your scheduler)
- Configuration of RMI Server and Client (use a Quartz instance from a remote process)
- Configuration of RAMJobStore (store jobs and triggers in memory)
- Configuration of JDBC-JobStoreTX (store jobs and triggers in a database via JDBC)
- Configuration of JDBC-JobStoreCMT (JDBC with JTA container-managed transactions)
- Configuration of DataSources (for use by the JDBC-JobStores)
- Configuration of Database Clustering (achieve fail-over and load-balancing with JDBC-JobStore)
- Configuration of TerracottaJobStore (Clustering without a database!)
- Quartz Configuration Reference
- Configuration reference
- Configuration reference
- Apache Tomcat Configuration Reference
- Apache Tomcat Configuration Reference
- JanusGraph之Configuration Reference
- struts2 Convention Plugin Configuration reference
- Weathermap v0.97b Configuration Reference
- Invalid action class configuration that reference 异常
- Quartz.NET教程_Lesson 10: Configuration, Resource Usage and SchedulerFactory
- Quartz学习之Lesson10-Configuration, Resource Usage and SchedulerFactory
- configuration
- configuration
- configuration
- Configuration
- Configuration
- Configuration
- Configuration
- hihocoder 练习 A+B
- Android动画常用公共属性详解
- 译--ToolBar(四)
- Windows DLL编程中的导入导出:__declspec(dllimport) ,__declspec(dllexport) ,
- NGUI PK UGUI
- Quartz Configuration Reference
- Ubuntu下shell脚本运行异常:bash和dash的区别
- 双亲委派模型的工作过程
- 谷歌注册失败 手机已多次注册
- 把截取的视频做成Gif格式(Gifrocket)
- java环境变量配置
- iOS 指纹锁Touch ID解锁
- C++的值调用和引用调用
- 划分树