Mengqi Xu's Blog

# 标签: 源码


2023年11月11日
徐梦旗
3k字

得益于Spring框架的封装,我们只需要简单的几行代码便可创建一个HTTP服务,如下代码: java @SpringBootApplication @R...

2023年10月24日
徐梦旗
1.1k字

Queue接口详解 Queue接口有哪些实现? plantuml interface Queue<E> interface Deque<E> cla...

2023年10月17日
徐梦旗
1k字

Set接口详解 Set接口有哪些实现? plantuml interface Set<E> interface SortedSet<E> inte...

2023年09月28日
徐梦旗
5.6k字

Map接口详解 Map接口有哪些实现? plantuml interface Map<K,V> interface SortedMap<K,V> i...

2023年09月25日
徐梦旗
2.7k字

List详解 List接口有哪些实现? Java平台提供了两种常规用途的List接口的实现,分别是ArrayList和LinkedList。 在...

2023年08月27日
徐梦旗
1.3k字

如何将一个Bean注册到IoC容器中? 如何将一个Bean注册到IoC容器中? 在Spring2.5之前的版本,可以通过XML配置的方式,也就是通过b...

2023年08月13日
徐梦旗
1.7k字

BeanFactory和ApplicationContext有什么区别? Bean工厂BeanFactory和应用上下文ApplicationConte...

2023年08月05日
徐梦旗
470字

在Bean的实例化之后,会进行Bean的初始化,也就是会调用Bean的初始化方法。有以下几种方式指定Bean的初始化方法: 1. 标注@PostConst...

2023年07月25日
徐梦旗
4.7k字

什么是依赖注入? 宽泛地讲,依赖注入(Dependency Inject,DI)是控制反转(Inversion of Control,IoC)的一种实现...

2023年07月05日
徐梦旗
2.3k字

以XML配置文件配置的Bean为例,搞明白Bean在Spring中是如何被加载的可以使我们更了解Spring的XML配置文件中有哪些配置信息,以及各个配置...