Browse Source

Redeclare postProcessProperties callback to skip postProcessPropertyValues

See gh-25165
pull/25684/head
Juergen Hoeller 5 years ago
parent
commit
278c6d5cdb
  1. 6
      spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java

6
spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/AbstractAutoProxyCreator.java

@ -39,6 +39,7 @@ import org.springframework.aop.framework.adapter.AdvisorAdapterRegistry; @@ -39,6 +39,7 @@ import org.springframework.aop.framework.adapter.AdvisorAdapterRegistry;
import org.springframework.aop.framework.adapter.GlobalAdvisorAdapterRegistry;
import org.springframework.aop.target.SingletonTargetSource;
import org.springframework.beans.BeansException;
import org.springframework.beans.PropertyValues;
import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.BeanFactoryAware;
import org.springframework.beans.factory.FactoryBean;
@ -270,6 +271,11 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport @@ -270,6 +271,11 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport
return null;
}
@Override
public PropertyValues postProcessProperties(PropertyValues pvs, Object bean, String beanName) {
return pvs; // skip postProcessPropertyValues
}
/**
* Create a proxy with the configured interceptors if the bean is
* identified as one to proxy by the subclass.

Loading…
Cancel
Save