Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提两个问题 #30

Open
goodtw opened this issue May 16, 2019 · 2 comments
Open

提两个问题 #30

goodtw opened this issue May 16, 2019 · 2 comments

Comments

@goodtw
Copy link

goodtw commented May 16, 2019

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

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

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

@yinjihuan
Copy link
Owner

多谢反馈,后面修复下

@yinjihuan
Copy link
Owner

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants