@ManagedResource public class DataEndpointMBean extends EndpointMBean
Endpoint
implementations that provide actuator data of
some sort.Constructor and Description |
---|
DataEndpointMBean(String beanName,
Endpoint<?> endpoint)
Deprecated.
since 1.3 in favor of
DataEndpointMBean(String, Endpoint, ObjectMapper) |
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, isSensitive
@Deprecated public DataEndpointMBean(String beanName, Endpoint<?> endpoint)
DataEndpointMBean(String, Endpoint, ObjectMapper)
DataEndpointMBean
instance.beanName
- the bean nameendpoint
- the endpoint to wrappublic 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 © 2016 Pivotal Software, Inc.. All rights reserved.