Class AbstractJmxEndpoint

    • Constructor Detail

      • AbstractJmxEndpoint

        public AbstractJmxEndpoint​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
    • Method Detail

      • setEnvironment

        public void setEnvironment​(org.springframework.core.env.Environment environment)
        Specified by:
        setEnvironment in interface org.springframework.context.EnvironmentAware
      • getEnvironment

        protected final org.springframework.core.env.Environment getEnvironment()
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: JmxEndpoint
        Return if the JMX endpoint is enabled.
        Specified by:
        isEnabled in interface JmxEndpoint
        Returns:
        if the endpoint is enabled
      • convert

        protected Object convert​(Object data)
        Convert the given data into JSON.
        Parameters:
        data - the source data
        Returns:
        the JSON representation