| Class and Description | 
|---|
| org.springframework.beans.annotation.AnnotationBeanUtils as of 5.2, in favor of custom annotation attribute processing | 
| org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer as of 5.2, along with  PropertyPlaceholderConfigurer | 
| org.springframework.beans.factory.config.PropertyPlaceholderConfigurer as of 5.2; use  org.springframework.context.support.PropertySourcesPlaceholderConfigurerinstead which is more flexible through taking advantage of theEnvironmentandPropertySourcemechanisms. | 
| org.springframework.beans.factory.annotation.RequiredAnnotationBeanPostProcessor as of 5.1, in favor of using constructor injection for required settings
 (or a custom  InitializingBeanimplementation) | 
| org.springframework.beans.factory.xml.XmlBeanFactory as of Spring 3.1 in favor of  DefaultListableBeanFactoryandXmlBeanDefinitionReader | 
| Annotation Type and Description | 
|---|
| org.springframework.beans.factory.annotation.Required as of 5.1, in favor of using constructor injection for required settings
 (or a custom  InitializingBeanimplementation) | 
| Field and Description | 
|---|
| org.springframework.beans.factory.config.AutowireCapableBeanFactory.AUTOWIRE_AUTODETECT as of Spring 3.0: If you are using mixed autowiring strategies,
 prefer annotation-based autowiring for clearer demarcation of autowiring needs. | 
| org.springframework.beans.factory.support.AbstractBeanDefinition.AUTOWIRE_AUTODETECT as of Spring 3.0: If you are using mixed autowiring strategies,
 use annotation-based autowiring for clearer demarcation of autowiring needs. |