JobListener + TriggerListener + SchedulerListener
配置全局的TriggerListener
org.quartz.triggerListener.NAME.class = com.foo.MyListenerClass
org.quartz.triggerListener.NAME.propName = propValue
org.quartz.triggerListener.NAME.prop2Name = prop2Value
配置全局的JobListener
org.quartz.jobListener.NAME.class = com.foo.MyListenerClass
org.quartz.jobListener.NAME.propName = propValue
org.quartz.jobListener.NAME.prop2Name = prop2Value
其他的Listener在scheduler.getListenerManager()之后操作;
随着QuartzScheduler一起initialize/start/shutdown
配置一个plugin
org.quartz.plugin.NAME.class = com.foo.MyPluginClass
org.quartz.plugin.NAME.propName = propValue
org.quartz.plugin.NAME.prop2Name = prop2Value
只能这么配置,没有代码配置的方法;