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
周銳 閱讀(235)
評論(0) 編輯 收藏 所屬分類:
AspectJ