quartz启动流程
2024-11-11 17:58:53 0 举报
quartz启动流程
作者其他创作
大纲/内容
QuartzSchedulerThread
JTAAnnotationAwareJobRunShellFactory
bind()
getScheduler()获取调度容器对象
initialize()根据quartz.properties初始化配置信息
StdScheduler
JobStoreTX
JobStoreSupport
initialize()
createWorkerThreads(count)
initialize(scheduler)
QuartzScheduler
ClassLoadHelper
run()
StdSchedulerFactory
initialize(Properties props)
loadHelper.loadClass(tpClass).newInstance()
setLockHandler(Semaphore lockHandler)
runInThread(shell)
loadHelper.loadClass(jsClass).newInstance()
StdRowLockSemaphore
new JTAAnnotationAwareJobRunShellFactory()
创建线程池创建JobStore创建jobFactory创建JobRunShellFactory创建Scheduler容器
WorkerThread
run(runnable)
SimpleThreadPool
loadClass(classLoadHelperClass)
createJobRunShell(bndle)
new StdScheduler(qs)
0 条评论
下一页