diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-06 07:41:25 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-06 07:41:25 +0000 |
commit | db1a01fc29b9fb4913433371e651a631190eb897 (patch) | |
tree | b86e1687968374191aaf947744b6d7aef4fe2a6b /sandbox/rfeng/aop-logging/src/test/java/org | |
parent | b7b031902a081afb6b7133d2aa5351475b554e8a (diff) |
Update pointcuts
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@683143 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/rfeng/aop-logging/src/test/java/org')
-rw-r--r-- | sandbox/rfeng/aop-logging/src/test/java/org/apache/tuscany/sca/aspectj/MyTracingAspect.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/rfeng/aop-logging/src/test/java/org/apache/tuscany/sca/aspectj/MyTracingAspect.java b/sandbox/rfeng/aop-logging/src/test/java/org/apache/tuscany/sca/aspectj/MyTracingAspect.java index 4babfcca65..7c04341718 100644 --- a/sandbox/rfeng/aop-logging/src/test/java/org/apache/tuscany/sca/aspectj/MyTracingAspect.java +++ b/sandbox/rfeng/aop-logging/src/test/java/org/apache/tuscany/sca/aspectj/MyTracingAspect.java @@ -38,11 +38,11 @@ public class MyTracingAspect extends TracingAspect { System.out.println("completeLog()"); } - @Pointcut("execution(* org.apache.tuscany.sca.aspectj.TracingTestCase.testAOP(..))") + @Pointcut("execution(public * org.apache.tuscany.sca..*.*(..))") protected void entry() { } - @Pointcut("within(org.apache.tuscany.sca..*)") + @Pointcut("within(org.apache.tuscany.sca..*) && !within(org.apache.tuscany.sca.aspectj.*Aspect)") protected void withinScope() { } |