@ManagedResource public class EndpointMBean extends Object
Endpoint implementations to enable JMX export.| Constructor and Description |
|---|
EndpointMBean(String beanName,
Endpoint<?> endpoint,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Create a new
EndpointMBean instance. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convert(Object result) |
Endpoint<?> |
getEndpoint() |
String |
getEndpointClass() |
boolean |
isSensitive() |
public EndpointMBean(String beanName, Endpoint<?> endpoint, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
EndpointMBean instance.beanName - the bean nameendpoint - the endpoint to wrapobjectMapper - the ObjectMapper used to convert the payload@ManagedAttribute(description="Returns the class of the underlying endpoint") public String getEndpointClass()
@ManagedAttribute(description="Indicates whether the underlying endpoint exposes sensitive information") public boolean isSensitive()
public Endpoint<?> getEndpoint()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.