Advice weaving in AspectJ

作者: Erik Hilsdale , Jim Hugunin

DOI: 10.1145/976270.976276

关键词:

摘要: This paper describes the implementation of advice weaving in AspectJ. The AspectJ language picks out dynamic join points a program's execution with pointcuts and uses to change behavior at those points. core task AspectJ's weaver is statically transform program so that runtime it will behave according AspeetJ semantics. 1.1 which based on transforming bytecode. We describe how are mapped regions bytecode, these efficiently matched by pointcuts, pieces implemented regions. also discuss both run-time compile-time performance this implementation.

参考文章(11)
Joseph D. Gradecki, Nicholas Lesiecki, Mastering AspectJ: Aspect-Oriented Programming in Java ,(2003)
Muga Nishizawa, Shigeru Chiba, An easy-to-use toolkit for efficient Java bytecode translators generative programming and component engineering. pp. 364- 376 ,(2003) , 10.5555/954186.954208
Gregor Kiczales, Erik Hilsdale, Jim Hugunin, Mik Kersten, Jeffrey Palm, William G. Griswold, An Overview of AspectJ ECOOP 2001 — Object-Oriented Programming. pp. 327- 354 ,(2001) , 10.1007/3-540-45337-7_18
G. Kniesel, P. Costanza, M. Austermann, JMangler - a framework for load-time transformation of Java class files source code analysis and manipulation. pp. 98- 108 ,(2001) , 10.1109/SCAM.2001.972671
Andrei Popovici, Gustavo Alonso, Thomas Gross, Just-in-time aspects Proceedings of the 2nd international conference on Aspect-oriented software development - AOSD '03. pp. 100- 109 ,(2003) , 10.1145/643603.643614
Gregor Kiczales, Erik Hilsdale, Jim Hugunin, Mik Kersten, Jeffrey Palm, William Griswold, Getting started with ASPECTJ Communications of The ACM. ,vol. 44, pp. 59- 65 ,(2001) , 10.1145/383845.383858
Martin Lippert, An AspectJ-enabled eclipse core runtime platform conference on object-oriented programming systems, languages, and applications. pp. 322- 323 ,(2003) , 10.1145/949344.949433
Jason Baker, Wilson Hsieh, Runtime aspect weaving through metaprogramming aspect-oriented software development. pp. 86- 95 ,(2002) , 10.1145/508386.508396