Try modeling this scenario using the Chain of Responsibility Design Pattern in Rational Software Architect.
尝试在RationalSoftwareArchitect 中使用责任链设计模式为该情境建模。
One GoF pattern could fit perfectly in this situation: Chain of Responsibility.
有一个GoF 模式非常适合这种情形: 职责链(Chain of Responsibility)。
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)设计模式,把资源判断任务委托给相关代码。
Chain.NET (or NChain) is a generic implementation of Chain Of Responsibility design pattern for .NET and Mono platforms.
NET(又名NChain)是职责链模式在.NET和Mono平台上的一个实现。
The Chain of Responsibility pattern supports decoupling by passing a request between potential receivers, whereas the command pattern supports using a command object to encapsulate a request.
责任链模式通过在可能的接受方传递请求来解耦,而命令模式是通过将请求封装成对象。
The Chain of Responsibility pattern supports decoupling by passing a request between potential receivers, whereas the command pattern supports using a command object to encapsulate a request.
责任链模式通过在可能的接受方传递请求来解耦,而命令模式是通过将请求封装成对象。
应用推荐