“@JobHandler”添加“@Inherited”注解,解决BEAN在事务代理情况下,无法获取自定义代理的BUG

v1.3
xueli.xue 9 years ago
parent f9f8c89eb8
commit 70783426b3

@ -1,6 +1,7 @@
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;
@ -11,6 +12,7 @@ import java.lang.annotation.Target;
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface JobHander {
String name();

Loading…
Cancel
Save