
spring
木墩儿
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springboot分析
入口 @springbootapplication @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan( excludeFilters = {@Filter( type = FilterType.CUSTOM, classes = {T原创 2020-10-05 10:19:15 · 236 阅读 · 0 评论 -
spring相关知识
IOC spring读取配置或注解的过程 1:先通过扫描指定包路径下的spring注解,比如@Component、@Service、@Lazy @Sope等spring识别的注解或者是xml配置的属性(通过读取流,解析成Document,Document)然后spring会解析这些属性,将这些属性封装到BeanDefintaion这个接口的实现类中. 在springboot中,我们也可以采用注解配...原创 2020-04-10 19:01:21 · 287 阅读 · 0 评论