作者: Gregor Kiczales , Erik Hilsdale , Jim Hugunin , Mik Kersten , Jeffrey Palm
关键词:
摘要: AspectJ? is a simple and practical aspect-oriented extension to Java?. With just few new constructs, AspectJ provides support for modular implementation of range crosscutting concerns. In AspectJ's dynamic join point model, points are well-defined in the execution program; pointcuts collections points; advice special method-like constructs that can be attached pointcuts; aspects units implementation, comprising pointcuts, advice, ordinary Java member declarations. code compiled into standard bytecode. Simple extensions existing development environments make it possible browse structure same kind way as one browses inheritance classes. Several examples show powerful, programs written using easy understand.