24bfedc4e8779bf14c195795c834d654b81f86a9.svn-base 828 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. //
  2. //package org.jeecg.modules.demo.xxljob;
  3. //
  4. //import com.xxl.job.core.biz.model.ReturnT;
  5. //import com.xxl.job.core.handler.annotation.XxlJob;
  6. //import lombok.extern.slf4j.Slf4j;
  7. //import org.springframework.stereotype.Component;
  8. //
  9. //
  10. ///**
  11. // * xxl-job定时任务测试
  12. // */
  13. //@Component
  14. //@Slf4j
  15. //public class TestJobHandler {
  16. //
  17. //
  18. // /**
  19. // * 简单任务
  20. // *
  21. // * @param params
  22. // * @return
  23. // */
  24. //
  25. // @XxlJob(value = "testJob")
  26. // public ReturnT<String> demoJobHandler(String params) {
  27. // log.info("我是demo服务里的定时任务testJob,我执行了...............................");
  28. // return ReturnT.SUCCESS;
  29. // }
  30. //
  31. // public void init() {
  32. // log.info("init");
  33. // }
  34. //
  35. // public void destroy() {
  36. // log.info("destory");
  37. // }
  38. //
  39. //}
  40. //