随笔分类 -  spring boot

摘要:总览 Tomcat容器启动阶段 │ ├─ 1. StandardContext#startInternal() │ │ │ ├─ 1.1 调用SpringServletContainerInitializer#onStartup() │ │ │ │ │ ├─ 注册ContextLoaderListe 阅读全文
posted @ 2025-04-24 11:53 Peter.Jones 阅读(19) 评论(0) 推荐(0)
摘要:pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 阅读全文
posted @ 2024-05-15 15:36 Peter.Jones 阅读(50) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2023-06-08 20:50 Peter.Jones 阅读(0) 评论(0) 推荐(0)
摘要:在 Spring Boot 应用程序中,/health 端点是通过 HealthEndpoint bean 来处理的。当您访问 /health 端点时,Spring Boot 会调用 HealthEndpoint bean 的 health() 方法来检查应用程序的健康状态,并返回相应的响应。 He 阅读全文
posted @ 2023-04-23 11:10 Peter.Jones 阅读(542) 评论(0) 推荐(0)
该文被密码保护。
posted @ 2022-07-06 21:54 Peter.Jones 阅读(0) 评论(0) 推荐(0)
摘要:优秀博客: https://blog.csdn.net/kaihuishang666/article/details/108405691 阅读全文
posted @ 2022-06-26 15:28 Peter.Jones 阅读(13) 评论(0) 推荐(0)
摘要:https://docs.gitcode.net/spring/guide/ 阅读全文
posted @ 2022-06-26 00:15 Peter.Jones 阅读(41) 评论(0) 推荐(0)
摘要:两种使用方式等价: 方式一: @Component 和 @ConfigurationProperties(prefix = "multi-tenant") 组合 package com.xx; import lombok.Data; import org.springframework.boot.c 阅读全文
posted @ 2022-03-11 16:24 Peter.Jones 阅读(304) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/u012043390/article/details/89391518 阅读全文
posted @ 2022-03-11 15:26 Peter.Jones 阅读(28) 评论(0) 推荐(0)