Redeclare postProcessProperties callback to skip postProcessPropertyValues
See gh-25165
This commit is contained in:
parent
25165f552d
commit
278c6d5cdb
|
|
@ -39,6 +39,7 @@ import org.springframework.aop.framework.adapter.AdvisorAdapterRegistry;
|
||||||
import org.springframework.aop.framework.adapter.GlobalAdvisorAdapterRegistry;
|
import org.springframework.aop.framework.adapter.GlobalAdvisorAdapterRegistry;
|
||||||
import org.springframework.aop.target.SingletonTargetSource;
|
import org.springframework.aop.target.SingletonTargetSource;
|
||||||
import org.springframework.beans.BeansException;
|
import org.springframework.beans.BeansException;
|
||||||
|
import org.springframework.beans.PropertyValues;
|
||||||
import org.springframework.beans.factory.BeanFactory;
|
import org.springframework.beans.factory.BeanFactory;
|
||||||
import org.springframework.beans.factory.BeanFactoryAware;
|
import org.springframework.beans.factory.BeanFactoryAware;
|
||||||
import org.springframework.beans.factory.FactoryBean;
|
import org.springframework.beans.factory.FactoryBean;
|
||||||
|
|
@ -270,6 +271,11 @@ public abstract class AbstractAutoProxyCreator extends ProxyProcessorSupport
|
||||||
return null;
|
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
|
* Create a proxy with the configured interceptors if the bean is
|
||||||
* identified as one to proxy by the subclass.
|
* identified as one to proxy by the subclass.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue