@Configuration @ConditionalOnClass(value={org.springframework.context.annotation.EnableAspectJAutoProxy.class,org.aspectj.lang.annotation.Aspect.class,org.aspectj.lang.reflect.Advice.class,org.aspectj.weaver.AnnotatedElement.class}) @ConditionalOnProperty(prefix="spring.aop", name="auto", havingValue="true", matchIfMissing=true) public class AopAutoConfiguration extends ObjectSE
Auto-configuration。構成で EnableAspectJAutoProxy を有効にするのと同じです。spring.aop.auto=false の場合、構成はアクティブになりません。proxyTargetClass 属性はデフォルトでは true になりますが、spring.aop.proxy-target-class=false を指定することで上書きできます。
EnableAspectJAutoProxy| 修飾子と型 | クラスと説明 |
|---|---|
static class | AopAutoConfiguration.CglibAutoProxyConfiguration |
static class | AopAutoConfiguration.JdkDynamicAutoProxyConfiguration |
| コンストラクターと説明 |
|---|
AopAutoConfiguration() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSECopyright © 2019 Pivotal Software, Inc.. All rights reserved.