Package org.apache.catalina.manager
Class JMXProxyServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
org.apache.catalina.manager.JMXProxyServlet
- All Implemented Interfaces:
- Servlet,- ServletConfig,- Serializable
This servlet will dump JMX attributes in a simple format and implement proxy services for modeler.
- Author:
- Costin Manolache
- See Also:
- 
Field SummaryFieldsFields inherited from class jakarta.servlet.http.HttpServletLEGACY_DO_HEAD
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoGet(HttpServletRequest request, HttpServletResponse response) Process a GET request for the specified resource.voidgetAttribute(PrintWriter writer, String onameStr, String att, String key) voidinit()Initialize this servlet.booleanisSupported(String type) Determines if a type is supported by theJMXProxyServlet.voidlistBeans(PrintWriter writer, String qry) voidsetAttribute(PrintWriter writer, String onameStr, String att, String val) Methods inherited from class jakarta.servlet.http.HttpServletdoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, init, service, serviceMethods inherited from class jakarta.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, log, log
- 
Field Details- 
mBeanServerMBean server.
- 
registry
 
- 
- 
Constructor Details- 
JMXProxyServletpublic JMXProxyServlet()
 
- 
- 
Method Details- 
initInitialize this servlet.- Overrides:
- initin class- GenericServlet
- Throws:
- ServletException- if an exception occurs that interrupts the servlet's normal operation
 
- 
doGetpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException Process a GET request for the specified resource.- Overrides:
- doGetin class- HttpServlet
- 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
- See Also:
 
- 
getAttribute
- 
setAttribute
- 
listBeans
- 
isSupportedDetermines if a type is supported by theJMXProxyServlet.- Parameters:
- type- The type to check
- Returns:
- Always returns true
 
 
-