Class DataEndpointMBean
- java.lang.Object
- org.springframework.boot.actuate.endpoint.jmx.EndpointMBean
- org.springframework.boot.actuate.endpoint.jmx.DataEndpointMBean
- All Implemented Interfaces:
JmxEndpoint
public class DataEndpointMBean extends EndpointMBean
Simple wrapper aroundEndpoint
implementations that provide actuator data of some sort.
Constructor Summary
Constructors Constructor Description DataEndpointMBean(String beanName, Endpoint<?> endpoint, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a newDataEndpointMBean
instance.
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData()
Methods inherited from class org.springframework.boot.actuate.endpoint.jmx.EndpointMBean
convert, getEndpoint, getEndpointClass, getEndpointType, getIdentity, isEnabled, isSensitive
Constructor Detail
DataEndpointMBean
public DataEndpointMBean(String beanName, Endpoint<?> endpoint, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a newDataEndpointMBean
instance.- Parameters:
beanName
- the bean nameendpoint
- the endpoint to wrapobjectMapper
- theObjectMapper
used to convert the payload