摘要: 在实际开发中,我们经常使用Spring的@Component、@Service、@Repository以及 @Controller等注解来实现bean托管给Spring容器管理。Spring是怎么样实现的呢?我们一起跟着源码看看整个过程吧! 照旧,先看调用时序图: Spring启动时,会去扫描指定包 阅读全文
posted @ 2019-10-13 17:35 Griez 阅读(7614) 评论(1) 推荐(1) 编辑