exp
exp copied to clipboard
对某些模块作用的疑问
不太明白各模块的作用,比如example-springboot2,它是主应用吗?如果是的话,拓展接口不应该在这个模块里面吗,同时example-plugin-a-v1插件又是怎么被使用的呢?
- example-springboot2 是主应用;
- 扩展接口在 example-extension-define 模块里;
- example-plugin-a-v1 是 example-extension-define 接口的实现;
- example-plugin-a-v1 打包成 jar 后被maven 插件拷贝到指定目录,example-springboot2 主应用启动时,加载这个目录下的example-plugin-a-v1 jar 包。