`
javamore
  • 浏览: 61885 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

AspectJ

阅读更多

概述: 

AspectJ是AOP(面向切面编程)的Java语言的实现。AspectJ定义了AOP语法所以它有一个专门的编译器用来生成遵守Java字节编码规范的Class文件。


http://www.ibm.com/developerworks/cn/java/l-aspectJ/index.html中介绍了What is AspectJ 。
  1. AspectJ是一个代码生成工具(Code Generator)。
  2. AspectJ语法就是用来定义代码生成规则的语法。您如果使用过Java Compiler Compiler (JavaCC),您会发现,两者的代码生成规则的理念惊人相似。
  3. AspectJ有自己的语法编译工具,编译的结果是Java Class文件,运行的时候,classpath需要包含AspectJ的一个jar文件(Runtime lib)。
  4. ....


项目主页:http://www.eclipse.org/aspectj/


官方:

 

AspectJ[TM] is aspectj enables
 
  • a seamless aspect-oriented extension to the Javatm programming language
  • Java platform compatible
  • easy to learn and use
 
  • clean modularization of crosscutting concerns, such as error checking and handling, synchronization, context-sensitive behavior, performance optimizations, monitoring and logging, debugging support, and multi-object protocols

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics