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
可以使用java的spi规范来实现插件系统,这样谁做的插件打包成jar,直接放入lib里面就可以自动加载了,不用显示的调用use之类的。
https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html https://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html
@diaozxin007 @redmaple1
The text was updated successfully, but these errors were encountered:
考虑过使用 spi 的实现方式,但是可能插件的代码量比较少,会有插件包的概念。很可能一个 jar 里面有好几个插件。感觉还是需要按需 use。
Sorry, something went wrong.
No branches or pull requests
可以使用java的spi规范来实现插件系统,这样谁做的插件打包成jar,直接放入lib里面就可以自动加载了,不用显示的调用use之类的。
https://docs.oracle.com/javase/tutorial/sound/SPI-intro.html
https://docs.oracle.com/javase/7/docs/api/java/util/ServiceLoader.html
@diaozxin007 @redmaple1
The text was updated successfully, but these errors were encountered: