spring
文章平均质量分 86
wasdasdfqwer
一路向前...
展开
-
SpringBoot原理分析
1 @SpringBootApplication启动原理 @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan(excludeFilters = { ...原创 2019-12-13 18:21:02 · 114 阅读 · 0 评论 -
菜鸟看spring源码(0)之BeanFactory的注册与依赖绑定
public static BeanFactory getFactory(BeanDefinitionRegistry registry){ AbstractBeanDefinition userDao = new RootBeanDefinition(UserDao.class); AbstractBeanDefinition userService = new RootBeanDefinition(UserService.class); //将bean注册到容器中 registry原创 2014-08-23 09:26:13 · 1082 阅读 · 0 评论