Abstract:
In order to improve the performance of the weaving efficiency which is one of the most important efficiency factors for Aspect-oriented Programming(AOP), based on current research results that raise weaving-on-demand, weaving history mechanisms and weaving approach implementation based on log, this paper presents a log-based incremental weaving mechanism implementation. This method gives an aspect storage structure, based on this structure it can quantitatively describe current weaving state, computes the change of weaving state, and achieves incremental weaving to improve the efficiency of weaving.
Key words:
Aspect-oriented Programming(AOP),
weaving,
Log,
incremental weaving
摘要: 编织效率会严重影响面向方面编程的性能。针对上述情况,将按需编织和编织历史机制相结合,提出一种基于日志的增量式编织机制。使用索引日志、编织历史日志和系统日志3种日志文件,通过改变方面存储结构,定量描述方面状态,计算方面状态改变量,由此实现效率更高的增量式编织。
关键词:
面向方面编程,
编织,
日志,
增量式编织
CLC Number:
ZHOU Gui-Fang, LEI Ke, YUE Li-Hua. Incremental Weaving Mechanism Based on Log[J]. Computer Engineering, 2012, 38(01): 51-54.
周桂芳, 卢科, 岳丽华. 一种基于日志的增量式编织机制[J]. 计算机工程, 2012, 38(01): 51-54.