public class DataEndpointMBean extends EndpointMBean
Endpoint
implementations that provide actuator data of
some sort.Constructor and Description |
---|
DataEndpointMBean(String beanName,
Endpoint<?> endpoint,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a new
DataEndpointMBean instance. |
Modifier and Type | Method and Description |
---|---|
Object |
getData() |
convert, getEndpoint, getEndpointClass, getEndpointType, getIdentity, isEnabled, isSensitive
public DataEndpointMBean(String beanName, Endpoint<?> endpoint, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
DataEndpointMBean
instance.beanName
- the bean nameendpoint
- the endpoint to wrapobjectMapper
- the ObjectMapper
used to convert the payload@ManagedAttribute(description="Invoke the underlying endpoint") public Object getData()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.