Class JmxController


  • @Controller
    public class JmxController
    extends java.lang.Object
    Controller for handling all the monitoring features. Like cache, database, ...
    • Constructor Summary

      Constructors 
      Constructor Description
      JmxController()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String jmx​(org.springframework.ui.Model model)  
      java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> jmxData()  
      java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> jmxToggleBean​(java.lang.String bean)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JmxController

        public JmxController()
    • Method Detail

      • jmx

        @RequestMapping(value="/monitoring/jmx",
                        method=GET)
        public java.lang.String jmx​(org.springframework.ui.Model model)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • jmxData

        @RequestMapping(value="/monitoring/jmx/data",
                        method=GET,
                        headers="Accept=application/json")
        @ResponseBody
        public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> jmxData()
                                                                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • jmxToggleBean

        @RequestMapping(value="/monitoring/jmx/toggle/{bean}",
                        method=POST,
                        headers="Accept=application/json")
        @ResponseBody
        public java.util.List<java.util.Map<java.lang.String,​java.lang.Object>> jmxToggleBean​(@PathVariable
                                                                                                    java.lang.String bean)