Try modeling this scenario using the ChainofResponsibility Design Pattern in Rational Software Architect.
尝试在 Rational Software Architect 中使用责任链设计模式为该情境建模。
2
One GoF pattern could fit perfectly in this situation: ChainofResponsibility.
有一个 GoF 模式非常适合这种情形: 职责链(Chain of Responsibility)。
3
Instead of using regular expressions to rewrite public URIs onto private ones, Ranvier implements a chain-of-responsibility design pattern to delegate resource determination to relevant code.
Ranvier并不使用正则表达式把公共uri重写成私有uri,而是实现责任链(chain - of - responsibility)设计模式,把资源判断任务委托给相关代码。