org.infoglue.deliver.portal.dispatcher
Class PortalServletDispatcher

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by webwork.dispatcher.ServletDispatcher
              extended by org.infoglue.deliver.portal.dispatcher.DeliveryServletDispatcher
                  extended by org.infoglue.deliver.portal.dispatcher.PortalServletDispatcher
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PortalServletDispatcher
extends DeliveryServletDispatcher

Overides the webwork(1) servlet dispatcher in order to initiate the pluto services.

Author:
robert lerner, jan danils, jöran stark
See Also:
Serialized Form

Field Summary
static java.lang.String PORTLET_CONTAINER_NAME
           
 
Fields inherited from class webwork.dispatcher.ServletDispatcher
STACK_HEAD
 
Constructor Summary
PortalServletDispatcher()
           
 
Method Summary
 void destroy()
           
 void init(javax.servlet.ServletConfig config)
           
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
          Service a request.
 
Methods inherited from class webwork.dispatcher.ServletDispatcher
getHTMLErrorMessage
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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

PORTLET_CONTAINER_NAME

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

PortalServletDispatcher

public PortalServletDispatcher()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class webwork.dispatcher.ServletDispatcher
Throws:
javax.servlet.ServletException

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse resp)
             throws javax.servlet.ServletException
Description copied from class: DeliveryServletDispatcher
Service a request. The request is first checked to see if it is a multi-part. If it is, then the request is wrapped so WW will be able to work with the multi-part as if it was a normal request. Next, we will process all actions until an action returns a non-action which is usually a view. For each action in a chain, the action's context will be first set and then the action will be instantiated. Next, the previous action if this action isn't the first in the chain will have its attributes copied to the current action.

Overrides:
service in class DeliveryServletDispatcher
Throws:
javax.servlet.ServletException


Copyright © 2005 InfoGlue.org All Rights Reserved.