Browse Source

update document

xuxueli 5 years ago
parent
commit
22b80c5ac8

+ 1 - 0
doc/XXL-JOB官方文档.md View File

1687
 
1687
 
1688
 ### 6.28 版本 v2.2.0 Release Notes[迭代中]
1688
 ### 6.28 版本 v2.2.0 Release Notes[迭代中]
1689
 - 1、[迭代中]调度中心升级springboot2.x;因此,系统要求JDK8+;
1689
 - 1、[迭代中]调度中心升级springboot2.x;因此,系统要求JDK8+;
1690
+- 2、执行器注册默认值优化;
1690
 
1691
 
1691
 
1692
 
1692
 ### TODO LIST
1693
 ### TODO LIST

+ 2 - 2
xxl-job-core/src/main/java/com/xxl/job/core/handler/annotation/XxlJob.java View File

20
     /**
20
     /**
21
      * init handler, invoked when JobThread init
21
      * init handler, invoked when JobThread init
22
      */
22
      */
23
-    String init() default "";
23
+    String init();
24
 
24
 
25
     /**
25
     /**
26
      * destroy handler, invoked when JobThread destroy
26
      * destroy handler, invoked when JobThread destroy
27
      */
27
      */
28
-    String destroy() default "";
28
+    String destroy();
29
 
29
 
30
 }
30
 }