@ManagedResource public class EndpointMBean extends Object
Endpoint
implementations to enable JMX export.Constructor and Description |
---|
EndpointMBean(String beanName,
Endpoint<?> endpoint)
Deprecated.
since 1.3 in favor of
EndpointMBean(String, Endpoint, ObjectMapper) |
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() |
@Deprecated public EndpointMBean(String beanName, Endpoint<?> endpoint)
EndpointMBean(String, Endpoint, ObjectMapper)
EndpointMBean
instance.beanName
- the bean nameendpoint
- the endpoint to wrappublic 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.