com.ibm.workflow.portlet.client
Class Main

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--com.ibm.workflow.portlet.client.Main
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class Main
extends javax.servlet.http.HttpServlet

This is the main class of the MQSeries Workflow Web Client. It should be registered as /servlet/Main in your Web application.

If you do not want this servlet to manage the HttpSession objects it uses to store session information, you can subclass Main and register the derived class as /servlet/Main. The derived class' service() method must then manage the HttpSession objects and forward the actual requests to its base class, Main.

See Also:
Serialized Form

Constructor Summary
Main()
           
 
Method Summary
 void destroy()
          Cleans up the Workflow sessions that are still active, then dispatches the call to the user-defined CommandHandler, if any, to give it the opportunity to clean up resources.
 java.lang.String getServletInfo()
          Returns information about the servlet, such as author, version, and copyright.
 void init(javax.servlet.ServletConfig servletConfig)
          Initializes the servlet and places it into service.
 
Methods inherited from class javax.servlet.http.HttpServlet
service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Main

public Main()
Method Detail

getServletInfo

public java.lang.String getServletInfo()
Returns information about the servlet, such as author, version, and copyright.
Overrides:
getServletInfo in class javax.servlet.GenericServlet
Returns:
a String containing servlet information

init

public void init(javax.servlet.ServletConfig servletConfig)
          throws javax.servlet.ServletException
Initializes the servlet and places it into service.
Overrides:
init in class javax.servlet.GenericServlet
Parameters:
config - a ServletConfig object containing the servlet's configuration and initialization parameters
Throws:
if - an exception has occurred that interferes with the servlet's normal operation

destroy

public void destroy()
Cleans up the Workflow sessions that are still active, then dispatches the call to the user-defined CommandHandler, if any, to give it the opportunity to clean up resources.
Overrides:
destroy in class javax.servlet.GenericServlet


© Copyright IBM Corporation 2002, 2008. All Rights Reserved.