| Re: [aspectj-dev] perJoinPoint |
Does this not work?
-----
aspect A {
void trace(JoinPoint.StaticPart jp) { .. }
// method-execution
before() : execution(* *(..)) && !within(A) {
trace(thisJoinPointStaticPart);
}
// or, if you want advice-execution
// be careful if other advice advises this
before() : adviceexecution() && !within(A) {
trace(thisJoinPointStaticPart);
}
}
------
Wes
------------Original Message------------
From: Ťavoda Pavel <Pavel.Tavoda@xxxxxxxxxx>
To: aspectj-dev@xxxxxxxxxxx
Date: Thu, Mar-24-2005 3:07 AM
Subject: [aspectj-dev] perJoinPoint
Is it possible to achieve something like perJoinPoint aspect?
I would like to calculate some statistics for method execution.
TNX
Pavel
_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/aspectj-dev
|
Ing. Pavel Tavoda +421 2 5822 6540 Spordat s.r.o |