
上QQ阅读APP看书,第一时间看更新
Second pitfall (with AOP)
We will learn AOP in detail in the following chapter. Right now, we are not covering this pitfall in detail. I just want you to understand that if you have Aspect on a bean, then make sure there is no circular dependency between beans; otherwise, Spring will create two instances of that bean, one without Aspect and the other with a proper aspect, without informing you.