# 已过时的 API

## 目录

- 已过时的类
- 已过时的字段
- 已过时的方法

- 已过时的类
  类和说明
  org.springframework.beans.factory.xml.XmlBeanFactory as of Spring 3.1 in favor of `DefaultListableBeanFactory` and `XmlBeanDefinitionReader`
  org.springframework.beans.factory.config.YamlProcessor.StrictMapAppenderConstructor as of Spring Framework 5.0.6 (not used anymore here), superseded by SnakeYAML's own duplicate key handling

- 已过时的字段
  字段和说明
  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.

- 已过时的方法
  方法和说明
  org.springframework.beans.BeanUtils.instantiate(Class<T>) as of Spring 5.0, following the deprecation of `Class.newInstance()` in JDK 9