1.   捕获特定类中的所有连接点
      使用within(TypePattern)切入点,利用TypePattern指定特定类类型模式。语法:
      pointcut <pointcut name>(<any values to be picked up>) : within(<class>);
2.    捕获特定方法内的所有连接点
      使用withincode(Signature)切入点。语法:
      pointcut <pointcut name>(<any values to be picked up>) : withincode(<modifier> <class>.<method>(<parameter types>));
	
posted on 2007-07-04 15:37 
周锐 阅读(218) 
评论(0)  编辑  收藏  所属分类: 
AspectJ