【发布时间】:2012-05-15 06:33:51
【问题描述】:
我已经围绕类型编写了 spring aop 表达式,例如
@Around("execution(* com.mycomp.proj.parent.child1.*.*(..))
|| execution(* com.mycomp.proj.parent.child2.*.*(..))")
但如果新包将在父级(e.g.:com.mycomp.proj.parent.child3 下创建,则此表达式不会应用于新包)。如何开发包含这一点且不适用于直接位于父包中的类的表达式? (仅适用于所有子包中的类的表达式)
【问题讨论】:
标签: java spring aop spring-aop