0
私は春のAOPがaspectjよりも30倍遅いことを知っています。私は最高のパフォーマンスでAOPのすべての例外ログをキャッチしたい
したがって、私はスプリングのコンテキストxmlの下にコードを挿入します。
<aop:aspectj-autoproxy />
これはaspectjですか?
plz私に教えてください。より良いパフォーマンスのためにaopを置き換えることができます。
私は春のAOPがaspectjよりも30倍遅いことを知っています。私は最高のパフォーマンスでAOPのすべての例外ログをキャッチしたい
したがって、私はスプリングのコンテキストxmlの下にコードを挿入します。
<aop:aspectj-autoproxy />
これはaspectjですか?
plz私に教えてください。より良いパフォーマンスのためにaopを置き換えることができます。
<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を確認してください。