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(ConfigurableApplicationContext context)
Creates a new
BeansEndpoint that will describe the beans in the given
context and all of its ancestors. |
public BeansEndpoint(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 © 2019 Pivotal Software, Inc.. All rights reserved.