public class JMXProxyServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field | Description |
|---|---|---|
protected javax.management.MBeanServer |
mBeanServer |
MBean server.
|
protected Registry |
registry |
| Constructor | Description |
|---|---|
JMXProxyServlet() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
Process a GET request for the specified resource.
|
void |
getAttribute(java.io.PrintWriter writer,
java.lang.String onameStr,
java.lang.String att,
java.lang.String key) |
|
void |
init() |
Initialize this servlet.
|
boolean |
isSupported(java.lang.String type) |
Determines if a type is supported by the
JMXProxyServlet. |
void |
listBeans(java.io.PrintWriter writer,
java.lang.String qry) |
|
void |
setAttribute(java.io.PrintWriter writer,
java.lang.String onameStr,
java.lang.String att,
java.lang.String val) |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logprotected transient javax.management.MBeanServer mBeanServer
protected transient Registry registry
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletException - if an exception occurs that interrupts the servlet's
normal operationpublic void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException,
javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletrequest - The servlet request we are processingresponse - The servlet response we are creatingjava.io.IOException - if an input/output error occursjavax.servlet.ServletException - if a servlet-specified error occursServletResponse.setContentType(java.lang.String)public void getAttribute(java.io.PrintWriter writer,
java.lang.String onameStr,
java.lang.String att,
java.lang.String key)
public void setAttribute(java.io.PrintWriter writer,
java.lang.String onameStr,
java.lang.String att,
java.lang.String val)
public void listBeans(java.io.PrintWriter writer,
java.lang.String qry)
public boolean isSupported(java.lang.String type)
JMXProxyServlet.type - The type to checktrueCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.