Modifier and Type | Class and 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 and Description |
---|
BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)
Creates a new
BeansEndpoint that will describe the beans in the given
context and all of its ancestors. |
public BeansEndpoint(org.springframework.context.ConfigurableApplicationContext context)
BeansEndpoint
that will describe the beans in the given
context
and all of its ancestors.context
- the application contextApplicationContext.getParent()
@ReadOperation public BeansEndpoint.ApplicationBeans beans()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.