org.apache.geronimo.samples.daytrader.web
Class TradeConfigServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.geronimo.samples.daytrader.web.TradeConfigServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class TradeConfigServlet
extends HttpServlet

TradeConfigServlet provides a servlet interface to adjust DayTrader runtime parameters. TradeConfigServlet updates values in the org.apache.geronimo.samples.daytrader.web.TradeConfig JavaBean holding all configuration and runtime parameters for the Trade application

See Also:
Serialized Form

Constructor Summary
TradeConfigServlet()
           
 
Method Summary
 void init(ServletConfig config)
          Servlet initialization method.
 void service(HttpServletRequest req, HttpServletResponse resp)
           
 
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
 

Constructor Detail

TradeConfigServlet

public TradeConfigServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Servlet initialization method.

Specified by:
init in interface Servlet
Overrides:
init in class GenericServlet
Throws:
ServletException

service

public void service(HttpServletRequest req,
                    HttpServletResponse resp)
             throws ServletException,
                    IOException
Overrides:
service in class HttpServlet
Throws:
ServletException
IOException


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