Interface JmxOperationResponseMapper
- All Known Implementing Classes:
JacksonJmxOperationResponseMapper
public interface JmxOperationResponseMapper
Maps an operation's response to a JMX-friendly form.- Since:
- 2.0.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Object
mapResponse(Object response)
Map the operation's response so that it can be consumed by a JMX compliant client.Class<?>
mapResponseType(Class<?> responseType)
Map the response type to its JMX compliant counterpart.
Method Detail
mapResponseType
Class<?> mapResponseType(Class<?> responseType)
Map the response type to its JMX compliant counterpart.- Parameters:
responseType
- the operation's response type- Returns:
- the JMX compliant type
mapResponse
Object mapResponse(Object response)
Map the operation's response so that it can be consumed by a JMX compliant client.- Parameters:
response
- the operation's response- Returns:
- the
response
, in a JMX compliant format