Spring AOP for non spring component
Spring AOP can only be applied to Spring-managed components/beans, not to non-Spring POJOs. If you want to apply AOP to non-Spring classes you need AspectJ, not a proxy-based “AOP lite” framework like Spring AOP. For more information about how to use AspectJ (which does not need Spring at all) in combination with Spring and how … Read more