org.apache.catalina.manager
public class StatusManagerServlet extends javax.servlet.http.HttpServlet implements javax.management.NotificationListener
Modifier and Type | Field and Description |
---|---|
protected java.util.Vector |
globalRequestProcessors
Vector of global request processors object names.
|
protected javax.management.MBeanServer |
mBeanServer
MBean server.
|
protected java.util.Vector |
protocolHandlers
Vector of protocol handlers object names.
|
protected java.util.Vector |
requestProcessors
Vector of request processors object names.
|
protected static StringManager |
sm
The string manager for this package.
|
protected java.util.Vector |
threadPools
Vector of thread pools object names.
|
Constructor and Description |
---|
StatusManagerServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Finalize this servlet.
|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Process a GET request for the specified resource.
|
void |
handleNotification(javax.management.Notification notification,
java.lang.Object handback) |
void |
init()
Initialize this servlet.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected javax.management.MBeanServer mBeanServer
protected java.util.Vector protocolHandlers
protected java.util.Vector threadPools
protected java.util.Vector requestProcessors
protected java.util.Vector globalRequestProcessors
protected static StringManager sm
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
- if an exception occurs that
interrupts the servlet's
normal operationpublic void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public 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.HttpServlet
request
- 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 handleNotification(javax.management.Notification notification, java.lang.Object handback)
handleNotification
in interface javax.management.NotificationListener
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.