@ConfigurationProperties(name="endpoints.beans", ignoreUnknownFields=false) public class BeansEndpoint extends AbstractEndpoint<String> implements org.springframework.context.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 |
---|---|
MediaType[] |
getProduces()
Returns the
MediaType s that this endpoint produces or null . |
String |
invoke()
Called to invoke the endpoint.
|
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
getPath, isSensitive, setPath, setSensitive
public void setApplicationContext(org.springframework.context.ApplicationContext context) throws org.springframework.beans.BeansException
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
org.springframework.beans.BeansException
public MediaType[] getProduces()
Endpoint
MediaType
s that this endpoint produces or null
.getProduces
in interface Endpoint<String>
getProduces
in class AbstractEndpoint<String>
Copyright © 2013. All rights reserved.