知识卡片
限制路径让集成规则可执行
通过可见性和授权,限制元素只能与规定对象交互,可避免任意点对点连接绕开转换和治理。SOA把请求统一经ESB是原章例子。限制必须对准需要保持的依赖规则,不能以减少线条代替性能、故障与业务协作评估。
相关:[[中介要说明消除哪种距离]]。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 可集成性 · 查看原书依据
Restrict Communication Paths This tactic restricts the set of elements with which a given element can communicate. In practice, this tactic is implemented by restricting a element’s visibility (when developers cannot see an interface, they cannot employ it) and by authorization (i.e., restricting access to only authorized elements).
参考来源
- 位置:《Software Architecture in Practice, 4th Edition》第7章《可集成性》(来源项目:book-sources;源文件:extracted/Software Architecture in Practice, 4th Edition/_epub-src/ch07.html)
- 结论依据:原文的定义、机制或比较支持“通过可见性和授权,限制元素只能与规定对象交互,可避免任意点对点连接绕开转换和治理”;正文保留其条件与取舍。
- 原始内容:Restrict Communication Paths This tactic restricts the set of elements with which a given element can communicate. In practice, this tactic is implemented by restricting a element’s visibility (when developers cannot see an interface, they cannot employ it) and by authorization (i.e., restricting access to only authorized elements).