类 BeansEndpoint
- java.lang.Object
- org.springframework.boot.actuate.beans.BeansEndpoint
@Endpoint(id="beans") public class BeansEndpoint extends Object
Endpoint
to expose details of an application's beans, grouped by application context.- 从以下版本开始:
- 2.0.0
嵌套类概要
嵌套类 修饰符和类型 类 说明 static class
BeansEndpoint.ApplicationBeans
A description of an application's beans, primarily intended for serialization to JSON.static class
BeansEndpoint.BeanDescriptor
A description of a bean in an application context, primarily intended for serialization to JSON.static class
BeansEndpoint.ContextBeans
A description of an application context, primarily intended for serialization to JSON.
构造器概要
构造器 构造器 说明 BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)
Creates a newBeansEndpoint
that will describe the beans in the givencontext
and all of its ancestors.
构造器详细资料
BeansEndpoint
public BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)
Creates a newBeansEndpoint
that will describe the beans in the givencontext
and all of its ancestors.- 参数:
context
- the application context- 另请参阅:
ApplicationContext.getParent()
方法详细资料
beans
@ReadOperation public BeansEndpoint.ApplicationBeans beans()