org.apache.catalina.manager

Class JMXProxyServlet

public class JMXProxyServlet extends HttpServlet

This servlet will dump JMX attributes in a simple format and implement proxy services for modeler.

Author: Costin Manolache

Field Summary
protected MBeanServermBeanServer
MBean server.
protected Registryregistry
Method Summary
voiddoGet(HttpServletRequest request, HttpServletResponse response)
Process a GET request for the specified resource.
Stringescape(String value)
voidgetAttribute(PrintWriter writer, String onameStr, String att)
voidinit()
Initialize this servlet.
booleanisSupported(String type)
voidlistBeans(PrintWriter writer, String qry)
voidsetAttribute(PrintWriter writer, String onameStr, String att, String val)

Field Detail

mBeanServer

protected MBeanServer mBeanServer
MBean server.

registry

protected Registry registry

Method Detail

doGet

public void doGet(HttpServletRequest request, HttpServletResponse response)
Process a GET request for the specified resource.

Parameters: request The servlet request we are processing response The servlet response we are creating

Throws: IOException if an input/output error occurs ServletException if a servlet-specified error occurs

escape

public String escape(String value)

getAttribute

public void getAttribute(PrintWriter writer, String onameStr, String att)

init

public void init()
Initialize this servlet.

isSupported

public boolean isSupported(String type)

listBeans

public void listBeans(PrintWriter writer, String qry)

setAttribute

public void setAttribute(PrintWriter writer, String onameStr, String att, String val)
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.