public class JMXProxyServlet extends HttpServlet
Modifier and Type | Field and Description |
---|---|
protected 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(PrintWriter writer,
String onameStr,
String att,
String key) |
void |
init()
Initialize this servlet.
|
boolean |
isSupported(String type)
Determines if a type is supported by the
JMXProxyServlet . |
void |
listBeans(PrintWriter writer,
String qry) |
void |
setAttribute(PrintWriter writer,
String onameStr,
String att,
String val) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
protected transient MBeanServer mBeanServer
protected transient Registry registry
public void init() throws ServletException
init
in class GenericServlet
ServletException
- if an exception occurs that interrupts the servlet's
normal operationpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException
doGet
in class HttpServlet
request
- The servlet request we are processingresponse
- The servlet response we are creatingIOException
- if an input/output error occursServletException
- if a servlet-specified error occursServletResponse.setContentType(java.lang.String)
public void getAttribute(PrintWriter writer, String onameStr, String att, String key)
public void setAttribute(PrintWriter writer, String onameStr, String att, String val)
public void listBeans(PrintWriter writer, String qry)
public boolean isSupported(String type)
JMXProxyServlet
.type
- The type to checktrue
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.