|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.servlet.GenericServlet
|
+--javax.servlet.http.HttpServlet
|
+--edu.ucsb.adl.bucket99.StatusServlet
Returns the status of all Bucket99 drivers as an HTML document. This servlet is invoked with a simple HTTP GET request.
The following initialization parameters are required:
middleware_configuration_file
style_sheet_url
none" or the URL of a CSS style
sheet to be included as a link in the HTML document's header.
map_server_url
none" or the template URL of a
map server. See the mapServerURL argument of method
edu.ucsb.adl.middleware.Query.toHTML for a description
of the template.
$Log: StatusServlet.java,v $
Revision 1.7 2006/06/23 02:20:25 gjanee
Minor change to accomodate Java 1.5.
Revision 1.6 2004/09/23 17:33:11 gjanee
Rewrite to use class
edu.ucsb.adl.middleware.XmlUtils.
Revision 1.5 2004/03/17 19:37:30 gjanee
Minor change to accommodate a change to
ConnectionPool. The net effect of the change is
that this servlet should work even if the database is hung.
Revision 1.4 2004/03/05 23:56:00 gjanee
Added support for multiple middleware instances. Added the
middleware_configuration_file initialization
parameter.
Revision 1.3 2002/09/26 13:15:17 gjanee
Added database names to the output. Some minor reformatting.
Revision 1.2 2001/02/15 18:51:48 gjanee
Minor upgrade to servlet API 2.2.
Revision 1.1 2000/08/28 21:06:07 gjanee
Initial revision
| Constructor Summary | |
StatusServlet()
Creates a StatusServlet. |
|
| Method Summary | |
void |
destroy()
Frees all resources held by the servlet. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns the status of all Bucket99 drivers as an HTML document. |
void |
init(javax.servlet.ServletConfig config)
Initializes the servlet. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, 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 |
public StatusServlet()
StatusServlet.
| Method Detail |
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletconfig - Source for the above-mentioned initialization parameters.
javax.servlet.UnavailableException - If the initialization fails.
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.io.IOException
doGet in class javax.servlet.http.HttpServletrequest - The HTTP request.response - The HTTP response, which is an HTML document.
java.io.IOException - On any I/O error.public void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServlet
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||