quartz: documentation for xml files?

帅比萌擦擦* 提交于 2019-12-14 01:04:25

问题


Where is the documentation for quartz xml files (specifically jobs.xml)? I found the javadoc online, but I can't seem to find the documentation for how to write an xml file, just some brief examples e.g. this one from O'Reilly.

edit: apparently the java class that reads the jobs.xml is JobInitializationPlugin, but I don't see the docs for the xml format there either.


回答1:


This is really poorly documented. Beyond the brief mention at the OpenSymphony site, the only documentation comes in the form of a Document Type Definition (DTD) and an XML Schema. If you're familiar with these formats, you can use them to figure out what tags are available.

If you download the full Quartz distribution, they are located at /quartz/src/main/resources/org/quartz/xml/. You can also find them inside of quartz-1.7.3.jar at /org/quartz/xml/. The files are named job_scheduling_data_1_5.dtd and job_scheduling_data_1_5.xsd.



来源:https://stackoverflow.com/questions/2676514/quartz-documentation-for-xml-files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!