package com.xvji.quartz.util;

import org.quartz.JobExecutionContext;
import com.xvji.quartz.domain.SysJob;
import org.quartz.DisallowConcurrentExecution;
/**
 * 定时任务处理（允许并发执行）
 * 
 * @author ruoyi
 *
 */
//阻止同一个任务并发执行
@DisallowConcurrentExecution
public class QuartzJobExecution extends AbstractQuartzJob
{
    @Override
    protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception
    {
        JobInvokeUtil.invokeMethod(sysJob);
    }
}
