- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 小马哥 Spring-IoC笔记(3)BeanFactory和ApplicationContext的异同
BeanFactory和ApplicationContextThe BeanFactory interface provides an advanced configuration mechanism capable of managing any type of object. ApplicationContext is a sub-interface of BeanFactory. It adds:Easier integration with Spring’s AOP featuresMess
2022-01-09 21:43:45
166
原创 小马哥 Spring-IoC 笔记(2) 依赖查找和依赖注入
依赖查找根据 Bean 名称查找实时查找延迟查找根据 Bean 类型查找单个 Bean 对象集合 Bean 对象根据 Bean 名称 + 类型查找根据 Java 注解查找单个 Bean 对象集合 Bean 对象依赖注入根据 Bean 名称注入根据 Bean 类型注入单个 Bean 对象集合 Bean 对象注入容器內建 Bean 对象注入非 Bean 对象注入类型实时注入延迟注入依赖来源自定义 Bean容器內建 Bean 对象容器內建依赖代码/*
2022-01-09 21:03:47
508
原创 小马哥 Spring-IoC 笔记(1) 什么是IoC(Inversion of control)
IoC(Inversion of control)In software engineering, inversion of control (IoC) is a programming principle. IoC inverts the flow of control as compared to traditional control flow. In IoC, custom-written portions of a computer program receive the flow of con
2022-01-09 16:03:53
308
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅