![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
spring源码解读
spring源码解读
itboymvc
这个作者很懒,什么都没留下…
展开
-
springboot自动装配原理
1、点击@SpringBootApplication注解进入SpringBootApplication注解类如下图,@EnableAutoConfiguration主键启用自动装配功能2、点击@EnableAutoConfiguration注解进入到EnableAutoConfiguration注解类入下图,EnableAutoConfiguration注解类通过@Import(AutoConfigurationImportSelector.class)导入自动选择器3、 点击AutoC..原创 2020-11-30 16:16:31 · 109 阅读 · 0 评论 -
controller aop
class="org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator">@Component@Aspectpublic class AccessTimeStatisticAdvice {protected Log logger = org.apach原创 2016-04-13 11:31:08 · 335 阅读 · 0 评论 -
springboot不使用spring-boot-starter-parent使用spring-boot-dependencies来保持依赖项管理
如果您不想使用spring-boot-starter-parent,您仍然可以通过spring-boot-dependencies使用scope=import依赖项来保持依赖项管理(但不是插件管理)的好处 ,如下所示: <dependencyManagement><dependencies> <dependency> <gro...原创 2019-01-28 11:39:22 · 13189 阅读 · 0 评论