Spring AOP execution pointcut
Execution (modifiers-pattern? Ret-type-pattern declaring-type-pattern? Name-pattern (param-pattern) throws-pattern ?)
Where are the modifiers-pattern with question marks? (Public/protected) and declaring-type-pattern? Throws-pattern? Optional
Return type mode ( Ret-type-Pattern ) Determines that the return type of the method must match a connection point in sequence. The return type mode * Indicates matching any return type;
<AOP: Advisor pointcut = "execution (** .. petstorefacade. * (...)" advice-ref = "txadvice"/>
The first X represents the ret-type-pattern returned value.
*... Petstorefacade. * (...) represents the petstorefacade class in any pacakge and any method.
(..) Matches zero or multiple parameters, any type
(X,...) The type of the first parameter must be X
(X, S,...) matches at least four parameters. The first parameter must be of the X type, the second and third parameters can be arbitrary, and the fourth parameter must be of the S type.