期刊文献+

一种策略模式的AOP实现及应用 被引量:2

AN IMPLEMENTATION AND APPLICATION OF STRATEGY PATTERN BASED ON AOP
下载PDF
导出
摘要 基于面向方面编程(AOP)实现GoF设计模式是目前程序设计方法学的一个研究热点。针对GoF设计模式中的策略模式的传统面向对象实现方法所存在的问题,设计了一种基于AOP的实现方法,并应用到J2EE"应用服务"核心模式的实例中。分析结果表明,该方法能有效解决策略模式的传统面向对象实现方法中的混乱、间接影响、封装破坏等问题。 Implementation of GoF design patterns based on AOP and finding new AOP design patterns are the research hotspots in current programming methodology.In this paper,according to the problems of traditional object-orientation implementation method of strategy pattern in GoF design pattern,an implementation method based on AOP was designed,and it has been applied to Core J2EE "application service" patterns instances.The result of analysis showed that this method can effectively solve the problems such as confusion,indirection influence and encapsulation breaching in traditional object-orientation implementation method.
出处 《计算机应用与软件》 CSCD 2010年第1期121-123,共3页 Computer Applications and Software
基金 湖北省教育厅自然科学研究项目(Q200713005)
关键词 策略模式 面向方面编程 面向对象编程 Strategy pattern Aspect-oriented programming(AOP) Object-oriented programming(OOP)
  • 相关文献

参考文献11

  • 1ErichGamma RichardHelm RalphJohnson 李英军译.设计模式:可复用面向对象软件的基础[M].北京:机械工业出版社,2000..
  • 2Hachani Q, Bardou D. Using Aspect-Oriented Programming for Design Patterns Implementation. Workshop on Reuse in Object-Oriented Information Systems Design, OOIS 2002.
  • 3金望正,李莹,徐江浩,李赣生.面向方面编程技术研究[J].计算机应用与软件,2005,22(8):42-45. 被引量:8
  • 4AspectJ Web Site. http://www. eclipse, org/aspectj.
  • 5Hursh W,Lopes C. Separation of Concerns, technical report NU-CCS- 95-03 ,College of Computer Science, Northeastern University,1995.
  • 6Kiczales G, Lamping J, et al. Aspect-Oriented Programming [ C ]//Proceedings of ECOOP' 97, Lecture Notes in Computer Science, 1997, 1241:220 - 242.
  • 7Bardou D, Dony C. Split Objects : a Disciplined Use of Delegation within Objects, Proceedings of OOPSLA' 96, ACM SIGPLAN Notices, 1996,31 (10) :122- 137.
  • 8崔琳,许满武,杨群.一种Delegate机制的设计与分析[J].计算机科学,2004,31(5):82-85. 被引量:3
  • 9Baniassad E, Clarke S. Aspect-Oriented Analysis and Design: The Theme Approach. Addison-Wesley,2005.
  • 10Miles R. AspectJ Cookbook. O' Reilly, 2004.

二级参考文献11

  • 1[1]Lieberman H. Using Prototypical Objects to Implement Shared Behavior in Object Oriented Systems. 1986
  • 2[2]Richter J. An Introduction to Delegates. MSDN Magazine, April 2001
  • 3[3]Kniesel G. Implementation of Dynamic Delegation in Strongly Typed Inheritance-Based Systems, 1994
  • 4[4]Kniesel G. Dynamic Object-Based Inheritance with Subtyping.2000
  • 5[5]Ma Huadong,Shin G. Multicast Video-on-Demand Services. ACM SIGCOMM Communication Review, Jan. 2002
  • 6Advanced Separation of Concerns Workshop Presentaion,OOPSLA,October 15,2000.
  • 7Nicholas Lesiecki,Improve Modularity with Aspect-Oriented Programming,Java Technology Zone of IBM's Developer Works,January 2002.
  • 8William Grosso,Aspect-Oriented Programming & AspectJ,DDJ August 2002 Software Design.
  • 9The AspectJ Team,Frequently Asked Questions about AspectJ,Copyright(○c) 1998-2001 Xerox corporation,2002 Palo Alto Research Center,Incorporated.
  • 10The AspectJ Team,The AspectJTM Programming Guide,Copyright(○c) 1998-2001 Xerox corporation,2002.Palo Alto Research Center,Incorporated.

共引文献54

同被引文献15

引证文献2

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部