org.cofax.cds
Class AdminServlet


java.lang.Object

  |

  +--javax.servlet.GenericServlet

        |

        +--javax.servlet.http.HttpServlet

              |

              +--org.cofax.cds.AdminServlet

All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class AdminServlet
extends javax.servlet.http.HttpServlet

Provides web based administration of CofaxServlet.

Author:
Rajiv Pant, Karl Martino
See Also:
Serialized Form

Constructor Summary
AdminServlet()
           
 
Method Summary
 void destroy()
          Calls destroy.
 java.lang.String displayCachedObjects(CofaxCache cache, java.lang.String name)
          Displays a table of items that have been cached.
 void displayMemUsage(java.io.PrintWriter out)
          Displays statistics.
 java.lang.String displayTrackedObjects(CofaxCache cache, java.lang.String name)
          Displays a table of items that are being counted.
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Main routine of the servlet.
 void init(javax.servlet.ServletConfig config)
          Initializes variables
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
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
 

Constructor Detail

AdminServlet


public AdminServlet()
Method Detail

init


public final void init(javax.servlet.ServletConfig config)

                throws javax.servlet.ServletException
Initializes variables
Overrides:
init in class javax.servlet.GenericServlet

doGet


public final void doGet(javax.servlet.http.HttpServletRequest req,

                        javax.servlet.http.HttpServletResponse res)

                 throws javax.servlet.ServletException,

                        java.io.IOException
Main routine of the servlet.
Overrides:
doGet in class javax.servlet.http.HttpServlet

displayMemUsage


public void displayMemUsage(java.io.PrintWriter out)
Displays statistics.

destroy


public void destroy()
Calls destroy.
Overrides:
destroy in class javax.servlet.GenericServlet

displayCachedObjects


public java.lang.String displayCachedObjects(CofaxCache cache,

                                             java.lang.String name)
Displays a table of items that have been cached.

displayTrackedObjects


public java.lang.String displayTrackedObjects(CofaxCache cache,

                                              java.lang.String name)
Displays a table of items that are being counted.


Copyright 2001 KnightRidder.com. All Rights Reserved.