alibaba / spring-context-support

An internal support project for spring-context in Alibaba
Apache License 2.0
150 stars 83 forks source link

InstantiationAwareBeanPostProcessorAdapter @Deprecated and remove in spring6 #50

Open saturnLong opened 2 years ago

saturnLong commented 2 years ago

AbstractAnnotationBeanPostProcessor extends InstantiationAwareBeanPostProcessorAdapter

can not start at spring6

Official description

@Deprecated public abstract class InstantiationAwareBeanPostProcessorAdapter extends Object implements SmartInstantiationAwareBeanPostProcessor Adapter that implements all methods on SmartInstantiationAwareBeanPostProcessor as no-ops, which will not change normal processing of each bean instantiated by the container. Subclasses may override merely those methods that they are actually interested in. Note that this base class is only recommendable if you actually require InstantiationAwareBeanPostProcessor functionality. If all you need is plain BeanPostProcessor functionality, prefer a straight implementation of that (simpler) interface.

zhanyao commented 1 year ago

https://github.com/alibaba/spring-context-support/issues/58