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 Type
    Method
    Description
    mapResponse(Object response)
    Map the operation's response so that it can be consumed by a JMX compliant client.
    mapResponseType(Class<?> responseType)
    Map the response type to its JMX compliant counterpart.
  • Method Details

    • 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