AOP实现(三)——Spring 2.0中Pointcut的定义
在Spring 2.0中,Pointcut的定义包括两个部分:Pointcut表示式(expression)和Pointcut签名(signature)。让我们先看看execution表示式的格式:
然后要使用所定义的Pointcut时,可以指定Pointcut签名,如
2 楼 mirikle 2012-01-13 oh sorry, just for testing...