随笔 - 2228  文章 - 4  评论 - 371  阅读 - 1109万
08 2019 档案
Springboot Actuator之十二:actuator aop
摘要:前言spring 中aop是一个核心概念,spring boot 是如何实现自动化配置的?现在我们就来分析一下 解析spring boot 中自动化配置是读取/META-INF/spring.factories 中读取org.springframework.boot.autoconfigure.En 阅读全文
posted @ 2019-08-09 17:42 duanxz 阅读(728) 评论(0) 推荐(0) 编辑
Springboot Actuator之十一:actuator transaction
摘要:前言spring boot 的自动化配置其实就是在spring 的基础上做的封装,在我们之前对mvc,aop的自动化配置中可以发现–> 只是在spring 的基础上添加了一些特性,可以认为只是一个spring的应用.那么,关于transaction的配置也同样. 解析和aop自动配置一样,在/MET 阅读全文
posted @ 2019-08-09 17:39 duanxz 阅读(655) 评论(0) 推荐(0) 编辑
Springboot Actuator之十一:actuator PublicMetrics
摘要:前言接下来的几篇文章我们来分析一下spring-boot-actuator 中在org.springframework.boot.actuate.metrics中的代码,如图: 这里的代码不仅多,而且还比较复杂(类与类之间的关联关系).我们的策略是一点一点的蚕食,本文就先来分析PublicMetri 阅读全文
posted @ 2019-08-09 17:37 duanxz 阅读(1843) 评论(0) 推荐(0) 编辑
Springboot Actuator之十:actuator中的audit包
摘要:前言这篇文章我们来分析一下org.springframework.boot.actuate.security,org.springframework.boot.actuate.audit中的代码,这2个包的类是对spring security 的事件进行处理的.类图如下: 二、源码解析 2.1、Au 阅读全文
posted @ 2019-08-09 16:09 duanxz 阅读(2270) 评论(0) 推荐(0) 编辑
Springboot Actuator之九:actuator jmx endpoint
摘要:1、配置 2、结果: 自定义Bean,通过JMX暴露 下面的controller为了测试,改变数据, 结果: 阅读全文
posted @ 2019-08-06 17:54 duanxz 阅读(1222) 评论(0) 推荐(0) 编辑
Springboot Actuator之八:actuator的执行原理
摘要:本文接着《Springboot Actuator之七:actuator 中原生endpoint源码解析1》,前面主要分析了原生endpoint的作用。 现在着重了解actuator的执行原理。 在前面一篇文章中,我们已经了解endpoint的暴露方式有http(spring MVC)协议,jmx协议 阅读全文
posted @ 2019-08-05 18:06 duanxz 阅读(6995) 评论(0) 推荐(1) 编辑
Springboot Actuator之七:actuator 中原生endpoint源码解析1
摘要:看actuator项目的包结构,如下: 本文中的介绍Endpoints。 Endpoints(端点)介绍 Endpoints 是 Actuator 的核心部分,它用来监视应用程序及交互,spring-boot-actuator中已经内置了非常多的Endpoints(health、info、beans 阅读全文
posted @ 2019-08-05 11:41 duanxz 阅读(6063) 评论(0) 推荐(0) 编辑
Springboot Actuator之六:自定义Springboot的Endpoint
该文被密码保护。
posted @ 2019-08-05 10:40 duanxz 阅读(2) 评论(0) 推荐(0) 编辑
spring boot 源码解析52-actuate中MVCEndPoint解析
摘要:今天有个别项目的jolokia的endpoint不能访问,调试源码发现:endpoint.enabled的开关导致的。 关于Endpoint, 《Springboot Endpoint之二:Endpoint源码剖析》 之前的几篇文章分析了spring boot 中有关endpoint的实现,细心的朋 阅读全文
posted @ 2019-08-02 17:55 duanxz 阅读(1067) 评论(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

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