org.apache.geronimo.jmxdebug.web.velocity
Class DebugServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.apache.geronimo.jmxdebug.web.velocity.BasicVelocityActionServlet
              extended byorg.apache.geronimo.jmxdebug.web.velocity.DebugServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class DebugServlet
extends BasicVelocityActionServlet

Simple servlet for looking at mbeans

Version:
$Id: DebugServlet.java,v 1.2 2004/07/26 17:14:48 dain Exp $
See Also:
Serialized Form

Nested Class Summary
 class DebugServlet.KickSunInHead
          Why oh why couldn't this be one class...
 
Nested classes inherited from class org.apache.geronimo.jmxdebug.web.velocity.BasicVelocityActionServlet
BasicVelocityActionServlet.ServletAppContext
 
Field Summary
static String OBJECT_NAME_FILTER_KEY
           
 
Fields inherited from class org.apache.geronimo.jmxdebug.web.velocity.BasicVelocityActionServlet
DEFAULT_PROPS
 
Constructor Summary
DebugServlet()
           
 
Method Summary
 void defaultAction(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          The only real action - just puts the mbean server helper in the context, and if there was a mbean specified for details, shoves a MBeanINfoHelper in the context
protected  String getActionVerb()
          Defines the 'action verb' for the app
 void unknownAction(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Called when there is a request w/ invalid action verb
 
Methods inherited from class org.apache.geronimo.jmxdebug.web.velocity.BasicVelocityActionServlet
getVelocityEngine, init, renderTemplate, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_NAME_FILTER_KEY

public static String OBJECT_NAME_FILTER_KEY
Constructor Detail

DebugServlet

public DebugServlet()
Method Detail

getActionVerb

protected String getActionVerb()
Description copied from class: BasicVelocityActionServlet
Defines the 'action verb' for the app

Specified by:
getActionVerb in class BasicVelocityActionServlet

defaultAction

public void defaultAction(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
                   throws javax.servlet.ServletException,
                          IOException
The only real action - just puts the mbean server helper in the context, and if there was a mbean specified for details, shoves a MBeanINfoHelper in the context

Specified by:
defaultAction in class BasicVelocityActionServlet
Throws:
javax.servlet.ServletException
IOException

unknownAction

public void unknownAction(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse res)
                   throws javax.servlet.ServletException,
                          IOException
Description copied from class: BasicVelocityActionServlet
Called when there is a request w/ invalid action verb

Specified by:
unknownAction in class BasicVelocityActionServlet
Throws:
javax.servlet.ServletException
IOException


Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.