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