From 5bc58773fb86281b320915a3e0d6d867dc15c6d7 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Thu, 20 Dec 2012 11:48:11 +0100 Subject: [PATCH] Fixed javadoc --- .../framework/autoproxy/AbstractAutoProxyCreator.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/org.springframework.aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java b/org.springframework.aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java index cf55b82cfa6..8a117662142 100644 --- a/org.springframework.aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java +++ b/org.springframework.aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java @@ -371,17 +371,18 @@ public abstract class AbstractAutoProxyCreator extends ProxyConfig /** * Return whether the given bean class represents an infrastructure class * that should never be proxied. - *

Default implementation considers Advisors, Advices and - * AbstractAutoProxyCreators as infrastructure classes. + *

The default implementation considers Advices, Advisors and + * AopInfrastructureBeans as infrastructure classes. * @param beanClass the class of the bean * @return whether the bean represents an infrastructure class + * @see org.aopalliance.aop.Advice * @see org.springframework.aop.Advisor - * @see org.aopalliance.intercept.MethodInterceptor + * @see org.springframework.aop.framework.AopInfrastructureBean * @see #shouldSkip */ protected boolean isInfrastructureClass(Class beanClass) { - boolean retVal = Advisor.class.isAssignableFrom(beanClass) || - Advice.class.isAssignableFrom(beanClass) || + boolean retVal = Advice.class.isAssignableFrom(beanClass) || + Advisor.class.isAssignableFrom(beanClass) || AopInfrastructureBean.class.isAssignableFrom(beanClass); if (retVal && logger.isTraceEnabled()) { logger.trace("Did not attempt to auto-proxy infrastructure class [" + beanClass.getName() + "]");