![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
老夫撩发三千尺
这个作者很懒,什么都没留下…
展开
-
SpringBoot-事件监听
转载自:https://blog.csdn.net/liaokailin/article/details/48186331转载 2018-08-02 11:19:54 · 818 阅读 · 0 评论 -
SpringBoot-集成 Dubbo服务端
1.通过https://start.spring.io/搭建一个SpringBoot项目2.在pom.xml文件中引入dubbo相关jar包<dependency> <groupId>com.alibaba</groupId> <artifactId>dubbo</artifactId> <vers...原创 2018-09-20 19:26:41 · 143 阅读 · 0 评论 -
SpringBoot-ApplicationRunner和CommandLineRunner的使用
官网出处https://docs.spring.io/spring-boot/docs/2.1.1.RELEASE/reference/htmlsingle/#boot-features-command-line-runner23.8 Using the ApplicationRunner or CommandLineRunnerBoth interfaces work in the...原创 2018-12-14 20:27:54 · 814 阅读 · 0 评论 -
SpringBoot-Bean Validation 和 @ControllerAdvice的结合使用
Typically @ExceptionHandler, @InitBinder, and @ModelAttribute methods apply within the @Controller class (or class hierarchy) in which they are declared. If you want such methods to apply more global...原创 2018-12-25 16:57:14 · 1545 阅读 · 0 评论 -
SpringBoot-外部化配置原理分析
SpringBoot 加载配置文件的源码分析public static void main(String[] args) { SpringApplication.run(SpringBootConfigApplication.class, args);}public ConfigurableApplicationContext run(String... args) {}...原创 2019-06-27 22:42:26 · 377 阅读 · 0 评论 -
SpringBoot-日志系统
官方文档:https://docs.spring.io/spring-boot/docs/current/reference/html/howto-logging.html#howto-configure-logback-for-logging通过看文档整理以下几点:1.Spring Boot通过引入spring-boot-starter-web模块即可引入日志相关依赖包。...原创 2019-08-08 14:30:15 · 283 阅读 · 0 评论 -
SpringBoot-外部化配置实战应用
Spring Boot lets you externalize your configuration so that you can work with the same application code in different environments. You can use properties files, YAML files, environment variables, ...原创 2019-08-08 16:04:29 · 318 阅读 · 0 评论