Spring中Bean的作用域、Spring的自动注入、在spring配置文件中引入属性文件 1. Bean的作用域 Bean的作用域默认为单例模式。 2. 自动注入 3. 在spring配置文件中引入属性文件 Bean的作用域默认为单例模式。