[英]What is the difference between using @Autowired and AUTOWIRE_BY_TYPE?
[英]Spring:- what is the main difference between using @autowired annotation and using “autowire” in spring xml configuration?
最近,一个初级开发人员问我这个问题:“在Spring xml配置中使用@autowired注释和使用“ autowire”之间有区别吗?”
我无法给他具体答案。请帮助我。
不。Spring提供了多种组件连接方式。 根据您的系统构建,某些功能可能会提供比其他功能更多的优势。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.