Class JMXProxyServlet

  • All Implemented Interfaces:
    Servlet, ServletConfig, java.io.Serializable

    public class JMXProxyServlet
    extends HttpServlet
    This servlet will dump JMX attributes in a simple format and implement proxy services for modeler.
    Author:
    Costin Manolache
    See Also:
    Serialized Form
    • Field Detail

      • mBeanServer

        protected transient javax.management.MBeanServer mBeanServer
        MBean server.
      • registry

        protected transient Registry registry
    • Constructor Detail

      • JMXProxyServlet

        public JMXProxyServlet()
    • Method Detail

      • getAttribute

        public void getAttribute​(java.io.PrintWriter writer,
                                 java.lang.String onameStr,
                                 java.lang.String att,
                                 java.lang.String key)
      • setAttribute

        public void setAttribute​(java.io.PrintWriter writer,
                                 java.lang.String onameStr,
                                 java.lang.String att,
                                 java.lang.String val)
      • listBeans

        public void listBeans​(java.io.PrintWriter writer,
                              java.lang.String qry)
      • isSupported

        public boolean isSupported​(java.lang.String type)
        Determines if a type is supported by the JMXProxyServlet.
        Parameters:
        type - The type to check
        Returns:
        Always returns true