Expresso 5-5-0

com.jcorporate.expresso.services.asyncprocess
Class AsyncServlet

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended bycom.jcorporate.expresso.services.asyncprocess.AsyncServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class AsyncServlet
extends HttpServlet

This is a default way to initialize the async process factory. This servlet loads the factory in memory when created and destroys it when the context is destroyed.

Version:
$Revision: 1.4 $ on $Date: 2004/01/02 07:02:58 $
Author:
Michael Rimov
See Also:
Serialized Form

Field Summary
protected  ProcessorFactory factory
          The single Processor factory object
 
Constructor Summary
AsyncServlet()
          Creates a new AsyncServlet object.
 
Method Summary
 void destroy()
          As per servlet specification.
 void init(ServletConfig parm1)
          Initialization lifecycle event.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, 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
 

Field Detail

factory

protected ProcessorFactory factory
The single Processor factory object

Constructor Detail

AsyncServlet

public AsyncServlet()
Creates a new AsyncServlet object.

Method Detail

destroy

public void destroy()
As per servlet specification.


init

public void init(ServletConfig parm1)
          throws ServletException
Initialization lifecycle event. Constructs the Processor factory

Parameters:
parm1 - The servlet config the Context's servlet config as defined in web.xml
Throws:
ServletException - upon error

Expresso 5-5-0

Please see www.jcorporate.com for information about new Expresso releases.