![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
zhzsdiligence
这个作者很懒,什么都没留下…
展开
-
Web mvc
@EnableWebMvc自定义组件 要实现 WebMvcConfigurer 接口那么该组件是如何自动注入的呢?所以@EnableWebMvc 这个注解 就把 web Mvc这个模块,装配上去了,这正是@Enable 模块 装配的意义所在。常用注解也可用@ModelAttribute 注解单独 提出来执行流程: 先处理 @ModelAttribute 标注的方法,再去处理 Handler方法。...原创 2021-01-08 23:28:02 · 90 阅读 · 0 评论 -
理解SpringApplication
static WebApplicationType deduceFromClasspath() { if (ClassUtils.isPresent("org.springframework.web.reactive.DispatcherHandler", (ClassLoader)null) && !ClassUtils.isPresent("org.springframework.web.servlet.D...原创 2021-01-07 23:15:34 · 128 阅读 · 0 评论 -
自动装配
Spring 模式注解:装配方式自定义模式注解原创 2021-01-06 23:42:15 · 114 阅读 · 0 评论