org.oddjob.webapp.servlets
Class ExecutionServlet

java.lang.Object
  extended by HttpServlet
      extended by org.oddjob.webapp.servlets.ExecutionServlet

public class ExecutionServlet
extends HttpServlet

A servlet that provides OddjobExecutors. This currenlty uses the DefaultExecutors that start separate threads within a Servlet Container. This is slightly frowned upon in J2EE circles but many containers allow it.

Author:
Rob Gordon.

Constructor Summary
ExecutionServlet()
           
 
Method Summary
 void destroy()
           
 void doGet(HttpServletRequest req, HttpServletResponse res)
           
 void init(ServletConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionServlet

public ExecutionServlet()
Method Detail

init

public void init(ServletConfig config)
          throws ServletException
Throws:
ServletException

doGet

public void doGet(HttpServletRequest req,
                  HttpServletResponse res)
           throws ServletException,
                  IOException
Throws:
ServletException
IOException

destroy

public void destroy()