![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
梦倚栏杆
这个作者很懒,什么都没留下…
展开
-
spring boot application
23.9Application exitEachSpringApplicationwill register a shutdown hook with the JVM to ensure that theApplicationContextis closed gracefully on exit. All the standard Spring lifecycle callbacks (such as theDisposableBeaninterface, or the@PreDestr...原创 2020-11-13 20:42:29 · 117 阅读 · 0 评论 -
spring-boot文档学习-获取帮助
springboot官方文档地址:https://docs.spring.io/spring-boot/docs/1.4.1.RELEASE/reference/html/getting-started-system-requirements.html1. springboot 基于很多其他的项目,可以看spring.io网站下的得到更广泛的了解。如果你只是刚开始了解spring,可以参考https://spring.io/guides2.提问:我们监控了stackoverflow.com里打了“s原创 2020-11-13 07:55:49 · 118 阅读 · 0 评论 -
【翻译】spring-boot日志相关梳理(二)之slf4j入门
spring-boot日志相关梳理(-)里提到slf4j系列,因为后续的很多日志框架都依赖于它,重点看看slf4j.slf4j官方文档:http://www.slf4j.org/docs.html用户手册:http://www.slf4j.org/manual.htmlHelloWorld1.建议maven项目 slf4j,pom中添加依赖<properties> <slf4j.version>1.7.28</slf4j.version&g原创 2020-07-03 09:01:39 · 322 阅读 · 0 评论 -
spring-boot日志相关梳理(三)之spring-boot 项目里如何配置logging
日志入门创建spring-boot-starter-logging项目依赖: <properties> <spring.boot.version>2.1.3.RELEASE</spring.boot.version> </properties> <artifactId>spring-boot-starter-logging</artifactId> <dependencies&g原创 2020-07-05 21:21:04 · 494 阅读 · 1 评论 -
spring-boot-starters里为什么没有代码
官方文档:https://docs.spring.io/spring-boot/docs/2.1.3.RELEASE/reference/htmlsingle/#boot-features-custom-starter官方推荐:一个starter应该包含两部分:autoconfigure, starter;starter中包含相关的依赖,autoconfigure是自动配置的代码;当然也可以两个都放在一个模块,starter里所以我们看springboot里发现start原创 2020-07-03 14:47:11 · 1550 阅读 · 0 评论 -
spring-cron 表达式
版本:spring-context:spring-context-4.3.3.RELEASE.类:org.springframework.scheduling.support.CronSequenceGenerator解析cron表达式的方法:parse()cron表达式要求:原创 2020-04-03 15:03:22 · 404 阅读 · 0 评论