Class BeansEndpoint
- java.lang.Object
- org.springframework.boot.actuate.beans.BeansEndpoint
@Endpoint(id="beans") public class BeansEndpoint extends Object
Endpointto expose details of an application's beans, grouped by application context.- Since:
- 2.0.0
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBeansEndpoint.ApplicationBeansA description of an application's beans, primarily intended for serialization to JSON.static classBeansEndpoint.BeanDescriptorA description of a bean in an application context, primarily intended for serialization to JSON.static classBeansEndpoint.ContextBeansA description of an application context, primarily intended for serialization to JSON.
Constructor Summary
Constructors Constructor Description BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)Creates a newBeansEndpointthat will describe the beans in the givencontextand all of its ancestors.
Constructor Detail
BeansEndpoint
public BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)
Creates a newBeansEndpointthat will describe the beans in the givencontextand all of its ancestors.- Parameters:
context- the application context- See Also:
ApplicationContext.getParent()
Method Detail
beans
@ReadOperation public BeansEndpoint.ApplicationBeans beans()