知识卡片
插件可构建时或运行时装载
插件既可作为构建时纳入的组件,也可在运行中加入或移除。前者实现和管理较简单,但增删改插件通常要重新部署整个单体;后者可避免核心重部署,却需要相应装载与管理机制。原书列出的 OSGi、Jigsaw、Prism 只是其所述技术例子,不保证当前产品能力。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Microkernel Architecture Style · 查看原书依据
Runtime plug-in components can be added or removed at runtime without redeploying the core system or other plug-ins
参考来源
- 位置:《Fundamentals of Software Architecture》原书第13章《Microkernel Architecture Style》(阅读计划第16项;源文件:`OEBPS/ch13.html`)
- 结论依据:原文区分 compile-based 与 runtime-based 插件及其部署代价。
- 原始内容:Runtime plug-in components can be added or removed at runtime without redeploying the core system or other plug-ins