↧
Answer by gabuzo for Spring AOP: Annotation on any method called x not working
Spring AOP Proxies and aspectJ had some differences mainly:Spring AOP only works on public methods.Spring AOP does not work for self invocations.You can have a look to sections 8.4 & 8.5 of...
View ArticleAnswer by Abhinav Sarkar for Spring AOP: Annotation on any method called x...
Try:@Before("execution(public * *.doPoll(..))")public void anyPublic() { System.out.println("HIT POINTCUT");}
View ArticleSpring AOP: Annotation on any method called x not working
I am getting started with AOP for the first time.I have my first aspect as follows:@Aspectpublic class SyncLoggingAspect { private final Logger logger = Logger.getLogger(this.getClass());...
View Article