【Spring】Ref与Value指定bean的区别
1.使用ref可以在spring部署的时候验证依赖的bean是否真实存在。2.value进行指定仅在创建bean实例时验证,导致错误的延时出现,打来额外的类型转换开销