@Configuration @ConditionalOnClass(value={org.springframework.context.annotation.EnableAspectJAutoProxy.class,org.aspectj.lang.annotation.Aspect.class,org.aspectj.lang.reflect.Advice.class}) 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 false, by default, but can be overridden by specifying spring.aop.proxyTargetClass=true.
EnableAspectJAutoProxy
Modifier and Type | Class and Description |
---|---|
static class |
AopAutoConfiguration.CglibAutoProxyConfiguration |
static class |
AopAutoConfiguration.JdkDynamicAutoProxyConfiguration |
Constructor and Description |
---|
AopAutoConfiguration() |
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.