I'm trying to implement request interception using AOP (annotations flavored). I have declared a aspect with the following pointcut:
@Around("execution(* org.springframework.web.servlet.mvc.Controller+.ha ndleRequest(..))")
public Object checkHolding(ProceedingJoinPoint pjp) throws Throwable
{
....
return pjp.proceed();
}
We have several different flavors of controller abstractions in our application. Eventually everything extends Spring's Abstract controller. For some reason consistently only certain controllers are not getting proxied by Spring AOP on handleRequest call. Can someone please help me?


Reply With Quote