我正在读一本关于春季5级证书的书。
我读了下面的句子The Spring Framework IoC component is the nucleus of the framework. It uses dependency injection to assemble Spring-provided (also called infrastructure components) and development-provided components to rapidly wrap up an application。
我相信,开发提供的组件是我带注释的java类,将使用DI注入,例如@Controller或@Repository。
然而,我对第二部分感到好奇:基础设施组件。这些是什么。他们被注射到哪里?我是否可以认为AuthenticationManagerBuilder是一个基础设施组件,或者它们所引用的是另一件事?
谢谢
发布于 2021-01-04 20:55:14
本书完成后一章
我的结论是,一些引导spring应用程序的spring组件如下所示:
还有更多。
https://stackoverflow.com/questions/65512914
复制相似问题