We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.测试类中的示例最终好像都是基于反射调用的,这样对于使用 spring 管理的 bean(比如使用 @resource 或者 @Autowired 修饰),反射构建执行时会报出空指针,因此需要对实现类做特殊处理,请问有比较优雅的使用示例嘛,求解
2.测试示例的使用方式就是生产使用的最终形态嘛,是否有其他构建和调用的方式,如果有,方便给出示例不
The text was updated successfully, but these errors were encountered:
代码中没有使用反射,如果你使用了Spring的Bean,可以把AgeiPort看成 一个Bean,在Configuration里初始化。随后你可以在其他的Spring代码中比如IMPORTController中使用AgeiPort创建导入导出任务
Sorry, something went wrong.
No branches or pull requests
1.测试类中的示例最终好像都是基于反射调用的,这样对于使用 spring 管理的 bean(比如使用 @resource 或者 @Autowired 修饰),反射构建执行时会报出空指针,因此需要对实现类做特殊处理,请问有比较优雅的使用示例嘛,求解
2.测试示例的使用方式就是生产使用的最终形态嘛,是否有其他构建和调用的方式,如果有,方便给出示例不
The text was updated successfully, but these errors were encountered: