潘志宝
9 天以前 11a7424fd4e119e5094764bf19cc359e2b3eb76d
提交 | 用户 | 时间
e7c126 1 package com.xxl.job.admin.service.impl;
H 2
3 import com.xxl.job.admin.core.thread.JobCompleteHelper;
4 import com.xxl.job.admin.core.thread.JobRegistryHelper;
5 import com.xxl.job.core.biz.AdminBiz;
6 import com.xxl.job.core.biz.model.HandleCallbackParam;
7 import com.xxl.job.core.biz.model.RegistryParam;
8 import com.xxl.job.core.biz.model.ReturnT;
9 import org.springframework.stereotype.Service;
10
11 import java.util.List;
12
13 /**
14  * @author xuxueli 2017-07-27 21:54:20
15  */
16 @Service
17 public class AdminBizImpl implements AdminBiz {
18
19
20     @Override
21     public ReturnT<String> callback(List<HandleCallbackParam> callbackParamList) {
22         return JobCompleteHelper.getInstance().callback(callbackParamList);
23     }
24
25     @Override
26     public ReturnT<String> registry(RegistryParam registryParam) {
27         return JobRegistryHelper.getInstance().registry(registryParam);
28     }
29
30     @Override
31     public ReturnT<String> registryRemove(RegistryParam registryParam) {
32         return JobRegistryHelper.getInstance().registryRemove(registryParam);
33     }
34
35 }