Friday, July 11, 2014

Spring cannot have Aspect target on Aspect

In Spring AOP, it is not possible to have aspects themselves be the target of advice from other aspects. The @Aspect annotation on a class marks it as an aspect, and hence excludes it from auto-proxying.

http://docs.spring.io/spring/docs/4.0.x/spring-framework-reference/html/aop.html#aop-at-aspectj

No comments:

Post a Comment