org.sandev.tools.ControlPanel
Class XHTMLControlPanelServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.sandev.tools.ControlPanel.XHTMLControlPanelServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class XHTMLControlPanelServlet
extends javax.servlet.http.HttpServlet

A wrapper for the platform control panel that simply calls through to the container for all display and update procesing. AUTOGENERATED FILE, DO NOT EDIT DIRECTLY.
source: declared in build
generator: org.sandev.generator.CtrlPanelServletGenerator
time: Dec 2, 2005 6:38:59 PM

See Also:
Serialized Form

Field Summary
static java.lang.String jmxCtrlPanelURLPrefix
           
 
Constructor Summary
XHTMLControlPanelServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Pass HTTP 'GET' request over to handleRequest method.
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Pass HTTP 'POST' request over to handleRequest method.
protected  void handleRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Process the HTTP request and trap any errors.
protected  void writeNodeDecls(javax.servlet.ServletOutputStream sos, org.sandev.basics.structs.NodeInstance[] nodes)
          Given a Configuration, write out the node control structure for it.
protected  void writeNodeStructure(javax.servlet.ServletOutputStream sos)
          Write out a control structure of the nodes in this deployment.
protected  void writeUpgradeInfo(javax.servlet.ServletOutputStream sos)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jmxCtrlPanelURLPrefix

public static final java.lang.String jmxCtrlPanelURLPrefix
See Also:
Constant Field Values
Constructor Detail

XHTMLControlPanelServlet

public XHTMLControlPanelServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)

Pass HTTP 'GET' request over to handleRequest method.


doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse res)

Pass HTTP 'POST' request over to handleRequest method.


handleRequest

protected void handleRequest(javax.servlet.http.HttpServletRequest req,
                             javax.servlet.http.HttpServletResponse res)

Process the HTTP request and trap any errors.


writeNodeStructure

protected void writeNodeStructure(javax.servlet.ServletOutputStream sos)
                           throws java.io.IOException
Write out a control structure of the nodes in this deployment.

Throws:
java.io.IOException

writeNodeDecls

protected void writeNodeDecls(javax.servlet.ServletOutputStream sos,
                              org.sandev.basics.structs.NodeInstance[] nodes)
                       throws java.io.IOException
Given a Configuration, write out the node control structure for it. We link to the control panel interface for each node, which in turn uses the service that has been set up for each node by the root. The service name is the same as the node instance name.

Throws:
java.io.IOException

writeUpgradeInfo

protected void writeUpgradeInfo(javax.servlet.ServletOutputStream sos)
                         throws java.io.IOException
Throws:
java.io.IOException