面向方面编程(Aspect Oriented Programming AOP)技术提供了一种在编程阶段实现关注点分离的有效手段.将面向方面技术和重构技术结合形成一种新的重构技术,就是面向方面的重构.对面向方面这种新的编程技术进行了分析,对重构技术进行了简要的说明,阐述了如何利用AOP技术进行重构.通过一个具体实例说明了面向方面的重构技术,并讲述了面向方面的重构技术的优点.%Aspect-oriented programming technology provides an effective means to realize separation of coneems in the programming phase. Combining with aspect-oriented technology and refactoring technique will form a new refactoring technique, which is called aspect-oriented refaetoring. A nalized new aspect-oriented programming technique, a brief description of refactoring technique and states how to use AOP technique to refactoring. Illustrated aspect-oriented refactoring technique through a specific example and described the benefits of aspect-oriented refactoring technique.
展开▼