Advertisement

AOP代理设置pointcut

阅读量:

基本模式

<aop:pointcut id="Pointcut" expression="_______" />

expression中横线所需要填充的语句语法如下:

Selecting an appropriate pointcut enables achieving a high-quality source code separation. The optimal pointcut must ensure that an external observer can access the component's internal workings without being overly broad as to negate its purpose in AOP.

复制代码
 execution(modifiers-pattern? ret-type-pattern declaring-type-pattern?name-pattern(param-pattern)

全部评论 (0)

还没有任何评论哟~