Interface JmxOperationResponseMapper
- All Known Implementing Classes:
JacksonJmxOperationResponseMapper
public interface JmxOperationResponseMapper
Maps an operation's response to a JMX-friendly form.
- Since:
- 2.0.0
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionmapResponse
(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 Details
-
mapResponseType
Map the response type to its JMX compliant counterpart.- Parameters:
responseType
- the operation's response type- Returns:
- the JMX compliant type
-
mapResponse
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
-