posts - 431,  comments - 344,  trackbacks - 0
1.起个有意义的名字
2.决定要匹配的种类:call、execution,handler, get, set, adviceexecution
3.决定要匹配的上下文:target, this, or args
4.决定要匹配的范围:within,withincode,cflow,cflowbelow
定义小的pointcut,由小的简单的pointcut构造复杂的pointcut
posted on 2007-07-03 15:56 周锐 阅读(222) 评论(0)  编辑  收藏 所属分类: AspectJ

只有注册用户登录后才能发表评论。


网站导航: