@Configuration(proxyBeanMethods=false) @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
コンストラクターと説明 |
---|
AopAutoConfiguration() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSE
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.