Hi,
I have this code below in my LoggingAspect class and i am expect this to run for my methods like
gov.ssa.rome.service.impl.save() gov.ssa.rome.dao.impl.save()
but it is running only one time no matter what. i don't know why. i have used autowire to wire dao to servcice layer. I really appreciate your help.
what should i do to make this method run for all my application flow to see the flow in logs?
@Around("execution(* gov.ssa.rome..*.*(..))")
public Object log(ProceedingJoinPoint pjp) throws Throwable {
System.out.println("aspect Around started");
Object ret = pjp.proceed();
System.out.println("aspect Around ended);
return ret;
}