On 4-jun-08, at 18:32, Dean Wampler wrote:
For calls, the advice is inserted just before transferring control
to the method. For execution, the advice is inserted just after
transferring control, within the stack frame of the method. (This is
my naive way of viewing it.)
Simply put, the ca
:[EMAIL PROTECTED] De la part de Paulo Alexandre
Corigo Zenida
Envoyé : mercredi 4 juin 2008 18:41
À : aspectj-users@eclipse.org
Objet : Re: [aspectj-users] What's the different between call and execution
What Dean said is absolutely true. Anyway, I just would like to say that,
additionally, a
What Dean said is absolutely true. Anyway, I just would like to say
that, additionally, a call has more information about the join point,
since you can access the invocation static context, through the variable
thisEnclosingJoinPointStaticPart. E.g.,
public class C {
public void foo() {
For calls, the advice is inserted just before transferring control to
the method. For execution, the advice is inserted just after
transferring control, within the stack frame of the method. (This is
my naive way of viewing it.)
One implication is that you have to use call pointcuts if you