elastic-job-spring-boot-starter icon indicating copy to clipboard operation
elastic-job-spring-boot-starter copied to clipboard

提两个问题

Open goodtw opened this issue 5 years ago • 2 comments

您好,使用中发现的小问题

1 代码位置: ElasticJobConf conf = (ElasticJobConf)clz.getAnnotation(ElasticJobConf.class); 使用cglib的时候直接是代理类,就取不到 这个注解

2 代码位置: String jobTypeName = clzz.getInterfaces()[0].getSimpleName(); 如果任务类抽出一层父类,父类实现任务接口,子类继承父类,就无法直接取到获取到 interfaces 了

goodtw avatar May 16 '19 10:05 goodtw

多谢反馈,后面修复下

yinjihuan avatar May 17 '19 01:05 yinjihuan

第一个问题在1.0.5版本已修复

第二个问题我觉得还是使用的问题,本身官方提供三个任务的接口,就是直接实现使用的

yinjihuan avatar May 17 '19 08:05 yinjihuan