Spring AOP for non spring component
问题 I am writing Spring 4 application with java config. I can use AOP in this project for all spring component. But i can't use it for a normal POJO class. what is the library I need to add and what is the configuration I need to put in my config file to get this working 回答1: 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