org.jboss.web.tomcat.tc5
Class StatusServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.jboss.web.tomcat.tc5.StatusServlet
All Implemented Interfaces:
java.util.EventListener, NotificationListener (src)

public class StatusServlet
extends HttpServlet
implements NotificationListener (src)

This servlet will display a complete status of the HTTP/1.1 connector.

See Also:
Serialized Form

Field Summary
protected  java.util.Vector globalRequestProcessors
          Vector of global request processors object names.
protected  MBeanServer (src) 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 Summary
StatusServlet()
           
 
Method Summary
 void destroy()
          Finalize this servlet.
 void doGet(HttpServletRequest request, HttpServletResponse response)
          Process a GET request for the specified resource.
 void handleNotification(Notification (src)  notification, java.lang.Object handback)
          Callback method from the broadcaster MBean this listener implementation is registered to.
 void init()
          Initialize this servlet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mBeanServer

protected MBeanServer (src)  mBeanServer
MBean server.


protocolHandlers

protected java.util.Vector protocolHandlers
Vector of protocol handlers object names.


threadPools

protected java.util.Vector threadPools
Vector of thread pools object names.


requestProcessors

protected java.util.Vector requestProcessors
Vector of request processors object names.


globalRequestProcessors

protected java.util.Vector globalRequestProcessors
Vector of global request processors object names.


sm

protected static StringManager sm
The string manager for this package.

Constructor Detail

StatusServlet

public StatusServlet()
Method Detail

init

public void init()
          throws ServletException
Initialize this servlet.

Throws:
ServletException

destroy

public void destroy()
Finalize this servlet.


doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws java.io.IOException,
                  ServletException
Process a GET request for the specified resource.

Parameters:
request - The servlet request we are processing
response - The servlet response we are creating
Throws:
java.io.IOException - if an input/output error occurs
ServletException - if a servlet-specified error occurs

handleNotification

public void handleNotification(Notification (src)  notification,
                               java.lang.Object handback)
Description copied from interface: NotificationListener (src)
Callback method from the broadcaster MBean this listener implementation is registered to.

Specified by:
handleNotification in interface NotificationListener (src)
Parameters:
notification - the notification object
handback - the handback object given to the broadcaster upon listener registration