摘要: springboot可以通过实现@ManagedResource,@ManagedAttribute, or @ManagedOperation等接口,将bean暴露为MBean,开启JMX功能需要添加配置: spring.jmx.enabled=true 对应的MBean代码如下: import 阅读全文
posted @ 2020-04-24 15:49 yytxdy 阅读(2886) 评论(0) 推荐(0) 编辑