代码改变世界

文章分类 -  Spring Boot

springBoot 中 bootstrap 与 application

2024-03-14 11:43 by Spiderman25, 1 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/xhf852963/article/details/102564107 阅读全文

APP内阅读 Springboot 优雅停止服务的几种方法介绍

2024-03-11 19:54 by Spiderman25, 2 阅读, 收藏, 编辑
摘要: https://baijiahao.baidu.com/s?id=1756417347871873705&wfr=spider&for=pc&searchword=springboot%E4%BC%98%E9%9B%85%E5%81%9C%E6%9C%BA 阅读全文

Spring Boot中的Binder类

2024-01-22 18:13 by Spiderman25, 1 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/weixin_42594143/article/details/133269692 阅读全文

Property占位符处理:PropertySourcesPlaceholdersResolver

2024-01-16 22:55 by Spiderman25, 7 阅读, 收藏, 编辑
摘要: https://www.codenong.com/js6530b7f7cae8/ PropertyPlaceholderHelper,链接里面helper用到的方法 @FunctionalInterface public interface PlaceholdersResolver { Placeh 阅读全文

SpringBoot之Profile源码分析

2023-12-30 14:57 by Spiderman25, 6 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/dbcjh/article/details/119839059 阅读全文

@Import

2022-05-16 23:23 by Spiderman25, 35 阅读, 收藏, 编辑
摘要: @Import支持 三种方式1.带有@Configuration的配置类(4.2 版本之前只可以导入配置类,4.2版本之后 也可以导入 普通类)2.ImportSelector 的实现3.ImportBeanDefinitionRegistrar 的实现 阅读全文

SpringBoot集成WebSocket

2022-02-27 12:18 by Spiderman25, 5 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/xuwenjin/p/12664650.html 阅读全文

WebMvcConfigurerr的重要配置

2022-02-27 12:07 by Spiderman25, 43 阅读, 收藏, 编辑
摘要: HandlerMethodArgumentResolverhttps://blog.csdn.net/songzehao/article/details/99641594HttpMessageConverterhttps://www.cnblogs.com/hhhshct/p/9676604.htm 阅读全文

@Autowired @Qualifier @Primary

2021-06-28 23:46 by Spiderman25, 43 阅读, 收藏, 编辑
摘要: 1、默认按类型注入2、如果有多个类型,按变量的名称来注入,如果还找不到则报错3、@Primary确定其为该类型默认注入的bean4、在使用@Autowired的地方加上@Qualifier("name"),可以设置注入指定名称的bean5、在@Bean @Component的地方使用@Qualifi 阅读全文

Springboot整合Druid

2021-04-11 16:19 by Spiderman25, 53 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/weixin_45627031/article/details/108111017 阅读全文

Spring Boot EnvironmentPostProcessor 的使用

2020-12-14 00:33 by Spiderman25, 217 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/jakaBlog/p/11421653.html 阅读全文

开发一个Spring Boot Starter!

2020-12-14 00:28 by Spiderman25, 42 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/NinWoo/p/11305650.html 阅读全文

SpringBoot 整合 apollo

2020-12-14 00:27 by Spiderman25, 52 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/huanchupkblog/p/10509427.html 阅读全文

springboot中starter理解

2020-11-03 22:05 by Spiderman25, 395 阅读, 收藏, 编辑
摘要: 有两种方式1、新建一个项目mystarter自定义启动注解,定义一个自启动注解,该注解又用标上多个注解(其中有一个B),B中又用@import标上,value为configuration,这样就引入了多个bean了。最后用该注解放到启动类上。configuration的bean为另一个项目的bean 阅读全文

SpringBoot中使用SpringDataJPA

2020-07-28 00:17 by Spiderman25, 78 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/wadmwz/p/10313495.html and if(:userName is not null and :userName!='', a=:userName, 1=1)and if(:list is not null, a in (:list) 阅读全文

Springboot 注解

2020-07-11 17:30 by Spiderman25, 51 阅读, 收藏, 编辑
摘要: @EnableConfigurationProperties https://www.jianshu.com/p/7f54da1cb2eb @AliasFor https://www.cnblogs.com/sandyflower/p/10877291.html 阅读全文

springboot(16)Spring Boot使用单元测试

2020-06-09 08:20 by Spiderman25, 54 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/sz85850597/article/details/80427408#t1 阅读全文

Spring Boot 2.X(十六):应用监控之 Spring Boot Actuator 使用及配置

2020-04-21 00:18 by Spiderman25, 584 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/zwqh/p/11851300.html 默认情况下什么都不加会显示health和infomanagement.endpoints.enabled-by-default=true如果只加这句也只会显示health和info(实践证明如果为true加不加 阅读全文

SpringBoot 整合 apollo

2020-04-08 08:07 by Spiderman25, 51 阅读, 收藏, 编辑
摘要: https://www.cnblogs.com/huanchupkblog/p/10509427.html?from=singlemessage 阅读全文

SpringBoot事务管理之@Transactional的使用

2020-04-01 23:20 by Spiderman25, 93 阅读, 收藏, 编辑
摘要: https://blog.csdn.net/u013568373/article/details/90543219https://blog.csdn.net/xcbeyond/article/details/81235995https://blog.csdn.net/wkl305268748/art 阅读全文
点击右上角即可分享
微信分享提示