Bean (beans)
原文:https://docs.spring.io/spring-boot/api/rest/actuator/beans.html
beans 端点提供应用 bean 的信息。
检索 Bean
向 /actuator/beans 发出 GET 请求:
$ curl 'http://localhost:8080/actuator/beans' -i -X GET
响应结构包含 contexts 对象,每个上下文包含 beans 映射。每个 bean 包含 aliases(别名)、dependencies(依赖)、className(类名)、scope(作用域)、type(类型)、resource(资源)等字段。