param ()
is a parameter pattern which matches on a method with no arguments.@Before("execution(* addCustomer())")​
param (*)
is another pattern that matches a method with one argument of any type.@Before("execution( * addCustomer(com.FreeTimeLearn.app.model.Customer))")
param (..)
which matches on a method with zero to many arguments of any type.@Before("execution(* addCustomer(..))")