期刊文献+

基于AOP的工厂模式研究 被引量:1

A Research on Factory Pattern Based on AOP
下载PDF
导出
摘要 工厂方法模式是面向对象软件开发中十分常见的设计模式之一,但其也存在着可扩展性和重复维护的问题。面向方面思想及技术的发展为解决上述问题提供了技术基础。应用AspectJ实现了基于面向方面技术的工厂模式,较之面向对象编程实现的工厂方法模式,本实现具有良好的可扩展性和可维护性。并通过分析认为本实现完全可以完成抽象工厂模式的任务,实现了两种工厂模式的统一。 Although the factory method model is one of the very common design patterns in the development of object- oriented software, it has such problems as bad extensibility and redundant maintenance. Through the application of AspectJ ,achieved the factory model based on aspect - oriented technologies , and eliminated the defect existing in object-oriented factory method model. Through analysis, it can be confirmed that the model not only can entirely complete the tasks of abstract factory pattern,but also can achieve the reunification of the two factory models.
出处 《计算机技术与发展》 2008年第8期47-49,共3页 Computer Technology and Development
基金 国家863计划资助项目(2004AA115090)
关键词 面向方面编程 工厂方法模式 织入 aspect - oriented programming factory method pattern weaver
  • 相关文献

参考文献5

  • 1Gamma E, Helm R, Johnson R, et al. Design Patterns Elements of Reusable Object - Oriented Software[ M]. Boston: Addison Wesley Professional, 1995.
  • 2Hursch W, Lopes C. Separation of Concerns[R]. [s. l. ] :College of Computer Seience, Northeastern University, 1995.
  • 3Filman R E,Elrad T, Clarke S, et al. Aspect - Oriented Software Development[ M]. Boston: Addison Wesley Professional, 2004.
  • 4高海洋,陈平.AOP综述[J].计算机科学,2002,29(10):133-135. 被引量:12
  • 5Colyer A,Clement A, Harley G, et al. Eclipse AspectJ : Aspect -Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools[M]. [s. l. ]:Addison Wesley Proregional, 2004.

二级参考文献11

  • 1Truyen E,et al. Dynamic and Selective Combination of Extensions in Component-based Applications. In: Proc. of the 23rd Intl.Conf. on Software Engineering (ICSE'2001) ,May 2001 ,Toronto,Canada
  • 2Hunleth F, Cytron R, Gill C. Building Customizable Middleware using Aspect Oriented Programming. In: Proc. of Conf. on ObjectOriented Programming, Systems, Languages, and Applications 2001 (OOPSLA2001)
  • 3Ossher H,Tarr P. Multi-Dimensional Separation of Concerns using Hyperspaces: [IBM Research Report 21452]. April, 1999
  • 4Rashid A,sawyer P. Object Database Evolution using Separation of Concerns. ACM SIGMOD Record,2000,29(4)
  • 5The AspectJ team. The AspectJ programming guide. Available at: http://aspect. org
  • 6The Emerging Technologies That Will Change the World. MIT Technology Review January/February 2001 issue
  • 7Bertrand Meyer. Object-Oriented Software Consstuction
  • 8Kiczales G, et al. Aspect-Oriented Programming. In: Proc. of the European Conf. on Object-Oriented Programming (ECOOP) ,June 1997
  • 9Miller S K. Aspect-Oriented Programming Takes Aim at Software Complexity. Computer 2001 IEEE Vol. 34,No. 4
  • 10The AspectJ team. Aspect-Oriented Programming with AspectJ.Available at: http://aspect. org

共引文献11

同被引文献12

  • 1古全友,王恩波,胥昌胜.AOP技术在J2EE系统构建中的应用[J].计算机技术与发展,2006,16(4):150-152. 被引量:9
  • 2李志纯,张南平.面向Aspect编程的应用研究[J].计算机技术与发展,2006,16(5):217-218. 被引量:9
  • 3樊庆林,吴建国.提高软件测试效率的方法研究[J].计算机技术与发展,2006,16(10):52-54. 被引量:19
  • 4Vincenzi A M R, Maldonado J C, Wong W E, et al. Coverage testing of Java programs andcomponents [ J ]. Science of Corn-puter Programming,2005,56(1/2) :211-230.
  • 5Mayer B. Applying" Design by Conrtact" [ J ]. IEEE Comput- er,1992,25(10) :40-51.
  • 6Gao J Z,Tsao H S J, Wu Y. Testing and Quality Assurance for Component-based Software [ M ]. Boston: Artech House,2003.
  • 7Cheng Y C, Chen Chien-Tsun, Hsieh Chin-Yun. ezContract: Using Marker Library and Bytecode Instrumentation to Support Design by Contract in Java [ C ]//Software Engineering Con- ference. [ s. 1. ] : E s. n. ] ,2007:502-509.
  • 8Feldman Y A, Barzilay O, Tyszberowicz S. Jose : Aspects for Design by Contract[ C]//Proceedings of the Fourth IEEE In- ternational Conference on Software Engineering and Formal Methods(SEFMO6). [s. 1. ] :[s. n. ] ,2006.
  • 9] Graddeck J D, Lesiecki N.精通AspectJ[M].北京:清华大学出版社,2004.
  • 10陈成,李行.基于AOP的MDA模型转换[J].计算机技术与发展,2008,18(7):87-89. 被引量:2

引证文献1

二级引证文献4

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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