Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] [Newbie] Difference between "call" and "execution" pointcut types

All,
 
What is the difference between the "call" and "execution" pointcut types?  Is there different Signature requirements for each?
 
When I use the following:
 

execution(* com.mycompany.webservices.impl..*(..) throws java.rmi.RemoteException); 

I can advise the classes without a problem.  However, when I use:

call(* com.mycompany.webservices.impl..*(..) throws java.rmi.RemoteException); 

The actuall call gets skipped.  What's the difference between the two?

Regards,

Joshua

 

Back to the top