尝试在 Rational Software Architect 中使用责任链设计模式为该情境建模。
Try modeling this scenario using the Chain of Responsibility Design Pattern in Rational Software Architect.
针对上述问题,提出一种责任链设计模式创建过程,利用延迟初始化技术减少不必要的请求处理者数量。
Aiming at the problems, a CoR creating process is presented, which uses delay initialization technology to reduce unnecessary requests for the creation of the treatment process.
Ranvier并不使用正则表达式把公共uri重写成私有uri,而是实现责任链(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.
应用推荐