Class 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.- Since:
- 2.0.0
Nested Class Summary
Nested Classes Modifier and Type Class Description 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.
Constructor Summary
Constructors Constructor Description BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)
Creates a newBeansEndpoint
that will describe the beans in the givencontext
and all of its ancestors.
Constructor Detail
BeansEndpoint
public BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)
Creates a newBeansEndpoint
that will describe the beans in the givencontext
and all of its ancestors.- Parameters:
context
- the application context- See Also:
ApplicationContext.getParent()
Method Detail
beans
@ReadOperation public BeansEndpoint.ApplicationBeans beans()