基于责任链与装饰的复合模式  

Compound Pattern of Responsibility and Observer Chain

在线阅读下载全文

作  者:张跃平[1] 

机构地区:[1]大连交通大学软件学院,辽宁大连116028

出  处:《大连交通大学学报》2009年第3期87-90,共4页Journal of Dalian Jiaotong University

基  金:辽宁省教育厅高等学校科学研究计划资助项目(05L040)

摘  要:将装饰模式嵌入到责任链模式中形成一种复合模式,设计的核心是为责任链上的每个处理者配置一个装饰者,并且可以用这个装饰者替代处理者,结果表明,这种方法增强了责任链模式处理用户请求的能力和灵活性.The decorator pattern is embedded to the chain of responsibility pattern to become a kind of compound pattern. The essential part of the design is that a handier is provided for a decorator, so that a handler can be substituted for the decorator. The compound pattern strengthen the ability and flexibility of the chain of responsibility pattern.

关 键 词:责任链模式 装饰模式 复合模式 

分 类 号:TP311.11[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象