public class JMXProxyServlet extends HttpServlet
| Modifier and Type | Field and Description |
|---|---|
protected javax.management.MBeanServer |
mBeanServer
MBean server.
|
protected Registry |
registry |
| Constructor and Description |
|---|
JMXProxyServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(HttpServletRequest request,
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) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logprotected transient javax.management.MBeanServer mBeanServer
protected transient Registry registry
public void init()
throws ServletException
init in class GenericServletServletException - if an exception occurs that interrupts the servlet's
normal operationpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws java.io.IOException, ServletException
doGet in class HttpServletrequest - The servlet request we are processingresponse - The servlet response we are creatingjava.io.IOException - if an input/output error occursServletException - 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.