Re: [aspectj-users] What's the different between call and execution

2008-06-04 Thread Bruno De Fraine
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

RE: [aspectj-users] What's the different between call and execution

2008-06-04 Thread jeanlouis.pasturel
:[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

Re: [aspectj-users] What's the different between call and execution

2008-06-04 Thread Paulo Alexandre Corigo Zenida
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() {

Re: [aspectj-users] What's the different between call and execution

2008-06-04 Thread Dean Wampler
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