2012-01-18 2 views

答えて

2
<aop:aspectj-autoproxy/> 

@AspectJ注釈のサポートを有効にします.AOPランタイムは、純粋なSpring AOPです。 referenceの春から次を参照してください。

@AspectJ refers to a style of declaring aspects as regular Java classes annotated with 
Java 5 annotations. The @AspectJ style was introduced by the AspectJ project as part of 
the AspectJ 5 release. Spring 2.0 interprets the same annotations as AspectJ 5, using a 
library supplied by AspectJ for pointcut parsing and matching. The AOP runtime is still 
pure Spring AOP though, and there is no dependency on the AspectJ compiler or weaver. 

あなたはAspectJのコンパイラ/ウィーバーを使用する場合は、hereを確認してください。

関連する問題