parent
6d9e00c6fd
commit
8f6186619f
3 changed files with 32 additions and 35 deletions
@ -1,24 +1,24 @@ |
||||
package com.xxl.job.core.handler.annotation; |
||||
|
||||
import java.lang.annotation.ElementType; |
||||
import java.lang.annotation.Inherited; |
||||
import java.lang.annotation.Retention; |
||||
import java.lang.annotation.RetentionPolicy; |
||||
import java.lang.annotation.Target; |
||||
|
||||
/** |
||||
* annotation for job handler |
||||
* |
||||
* will be replaced by {@link com.xxl.job.core.handler.annotation.XxlJob} |
||||
* |
||||
* @author 2016-5-17 21:06:49 |
||||
*/ |
||||
@Target({ElementType.TYPE}) |
||||
@Retention(RetentionPolicy.RUNTIME) |
||||
@Inherited |
||||
@Deprecated |
||||
public @interface JobHandler { |
||||
|
||||
String value(); |
||||
|
||||
} |
||||
//package com.xxl.job.core.handler.annotation;
|
||||
//
|
||||
//import java.lang.annotation.ElementType;
|
||||
//import java.lang.annotation.Inherited;
|
||||
//import java.lang.annotation.Retention;
|
||||
//import java.lang.annotation.RetentionPolicy;
|
||||
//import java.lang.annotation.Target;
|
||||
//
|
||||
///**
|
||||
// * annotation for job handler
|
||||
// *
|
||||
// * will be replaced by {@link com.xxl.job.core.handler.annotation.XxlJob}
|
||||
// *
|
||||
// * @author 2016-5-17 21:06:49
|
||||
// */
|
||||
//@Target({ElementType.TYPE})
|
||||
//@Retention(RetentionPolicy.RUNTIME)
|
||||
//@Inherited
|
||||
//@Deprecated
|
||||
//public @interface JobHandler {
|
||||
//
|
||||
// String value();
|
||||
//
|
||||
//}
|
||||
|
Loading…
Reference in new issue