Hi there,
I just started trying out Spring AOP (3.x). I have successfully used @Around to match a couple of methods and applied my advice on methods with param and non-null return type.
But when I tried the same for a method without param, it does not match and my advice is not invoked at all.Code:@Around("execution(* com.my.myClass.myMethod(..))") public Object myAdvice(ProceedingJoinPoint call) throws Throwable { ... }
I tried again without two dots between brackets, still not working: com.my.myClass.myMethod()
I tried on another method which has param but return type is null, again not working.
Anyone has suggestions? or this is a known bug for Spring?
Thx
Chuck


Reply With Quote
