We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
分支: populate-proxy-bean-with-property-values postProcessBeforeInstantiation这个函数代理里面注释是如果这个类存在代理就返回代理,但是进来发现不论什么类进来最后都返回都是null。 @OverRide public Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws BeansException { return null; }
The text was updated successfully, but these errors were encountered:
返回代理对象的逻辑在populate-proxy-bean-with-property-values分支迁移到postProcessAfterInitialization方法了。spring源码中,postProcessBeforeInstantiation方法如果返回bean的话,会造成“短路”,不会执行后面的逻辑,现在还没有看到postProcessBeforeInstantiation方法的实际用处。
Sorry, something went wrong.
No branches or pull requests
分支: populate-proxy-bean-with-property-values
postProcessBeforeInstantiation这个函数代理里面注释是如果这个类存在代理就返回代理,但是进来发现不论什么类进来最后都返回都是null。
@OverRide
public Object postProcessBeforeInstantiation(Class<?> beanClass, String beanName) throws BeansException {
return null;
}
The text was updated successfully, but these errors were encountered: