@ConfigurationProperties(prefix="endpoints.beans") public class BeansEndpoint extends AbstractEndpoint<List<Object>> implements ApplicationContextAware
Environment contains a key setting
the LiveBeansView.MBEAN_DOMAIN_PROPERTY_NAME then all application contexts in
the JVM will be shown (and the corresponding MBeans will be registered per the standard
behavior of LiveBeansView). Otherwise only the current application context.| Constructor and Description |
|---|
BeansEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
invoke()
Called to invoke the endpoint.
|
void |
setApplicationContext(ApplicationContext context) |
getEnvironment, getId, isEnabled, isSensitive, setEnabled, setEnvironment, setId, setSensitivepublic void setApplicationContext(ApplicationContext context) throws BeansException
setApplicationContext in interface ApplicationContextAwareBeansExceptionCopyright © 2016 Pivotal Software, Inc.. All rights reserved.