@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 Object
Auto-configuration
for Spring's AOP support. Equivalent to enabling
EnableAspectJAutoProxy
in your
configuration.
The configuration will not be activated if spring.aop.auto=false. The proxyTargetClass attribute will be true, by default, but can be overridden by specifying spring.aop.proxy-target-class=false.
EnableAspectJAutoProxy
Modifier and Type | Class and Description |
---|---|
static class |
AopAutoConfiguration.CglibAutoProxyConfiguration |
static class |
AopAutoConfiguration.JdkDynamicAutoProxyConfiguration |
Constructor and Description |
---|
AopAutoConfiguration() |
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.