随笔分类 -  spring

Spring Boot Actuator 1.x访问路径设置
摘要:Actuator介绍 Spring Boot Actuator提供了生产上经常用到的功能,通过JMX或HTTP端点访问监控和管理Spring Boot应用程序。 Actuator还可以与外部应用监控系统集成,如Prometheus,Graphite,DataDog,Influx,Wavefront, 阅读全文

posted @ 2023-05-30 09:55 qqq9527 阅读(123) 评论(0) 推荐(0) 编辑

spring 使用@Autowired注入与使用构造函数注入区别
摘要:使用介绍 1.@Autowired注入 @RestController @RequestMapping("/test") public class TestController { @Autowired private List<TestService> testServices; @Autowir 阅读全文

posted @ 2021-01-04 15:35 qqq9527 阅读(4723) 评论(0) 推荐(1) 编辑

转载:Spring Bean的生命周期
摘要:一、生命周期流程图: Spring Bean的完整生命周期从创建Spring容器开始,直到最终Spring容器销毁Bean,这其中包含了一系列关键点。 若容器注册了以上各种接口,程序那么将会按照以上的流程进行。下面将仔细讲解各接口作用。 二、各种接口方法分类 Bean的完整生命周期经历了各种方法调用 阅读全文

posted @ 2021-01-04 15:30 qqq9527 阅读(78) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

导航

统计

点击右上角即可分享
微信分享提示