美文网首页
2019-01-29

2019-01-29

作者: 矮油不错哦_ab60 | 来源:发表于2019-01-31 19:13 被阅读1次

参考链接:《Spring in Action(4th Edition)》阅读笔记

DI(dependency injection)

在Spring应用中,由application context负责加载beans,并将这些beans根据配置文件编织在一起。Spring框架提供了几种application context的实现,
如果使用XML格式的配置文件,则使用ClassPathXmlApplicationContext
如果使用Java文件形式的配置文件,则使用AnnotationConfigApplicationContext

相关文章

网友评论

      本文标题:2019-01-29

      本文链接:https://www.haomeiwen.com/subject/nsatsqtx.html