1.ScheduledAnnotationBeanPostProcessor @EnableScheduling @Import(Schedul...
1.Tomcat Connector接收請(qǐng)求 線程池中線程TaskThread#run進(jìn)行處理(http-nio線程): SocketProce...
1.父子容器的創(chuàng)建(一般只創(chuàng)建DispatcherServlet中的子容器) 父容器的創(chuàng)建 ContextLoaderListener的作用是用...
1.構(gòu)造SpringApplication對(duì)象 推測(cè)web應(yīng)用類型this.webApplicationType(NONE、REACTIVE、S...
1.手寫模擬SpringBoot核心流程 手寫模擬SpringBoot關(guān)鍵點(diǎn): 1)創(chuàng)建一個(gè)Spring容器,將啟動(dòng)類作為配置類傳入;并且加上@...
Spring整合其他框架的核心思路:就是將其他框架生成的類放到Spring容器中。同理,Spring整合Mybatis也是讓Mybatis生成的...
在這兩個(gè)方法執(zhí)行之前,已經(jīng)做了如下操作: 創(chuàng)建了DefaultListableBeanFactory beanFactory.setDepend...
1.注冊(cè)核心的組件:Advisor <tx:annotation-driven> TxNamespaceHandler#init Annotat...
1.REQUIRED REQUIRED(Spring默認(rèn)的事務(wù)傳播類型 required):如果當(dāng)前沒有事務(wù),則自己新建一個(gè)事務(wù),如果當(dāng)前存在事...