From 7b9d505f662d531547c0d4afd6c786f0097e76b8 Mon Sep 17 00:00:00 2001 From: "xueli.xue" Date: Mon, 23 May 2016 18:31:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Demo=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/webapp/WEB-INF/template/jobinfo/index.ftl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/index.ftl b/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/index.ftl index 30b16037..48be6029 100644 --- a/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/index.ftl +++ b/xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/index.ftl @@ -162,14 +162,14 @@ package com.xxl.job.service.handler; import org.slf4j.Logger; import org.slf4j.LoggerFactory; -import com.xxl.job.client.handler.IJobHandler; -import com.xxl.job.client.handler.IJobHandler.JobHandleStatus; +import com.xxl.job.core.handler.IJobHandler; +import com.xxl.job.core.handler.IJobHandler.JobHandleStatus; public class DemoJobHandler extends IJobHandler { private static transient Logger logger = LoggerFactory.getLogger(DemoJobHandler.class); @Override - public JobHandleStatus handle(String... params) throws Exception { + public JobHandleStatus execute(String... params) throws Exception { logger.info("XXL-JOB, Hello World."); return JobHandleStatus.SUCCESS; }