I am using spring AOP to intercept the methods. I have below configuration in my spring config file.
<aop:aspectj-autoproxy />
Aspect class:
@Aspect
public class MyAspect{
@Around("execution(public * *(..))")
public Object doAction(ProceedingJoinPoint call) throws Throwable {
//somelogic
}
Above method does not intercept private methods ? what should i do to ask the aspect to intercept both private and public methods?