com.livinglogic.struts.workflow
Class AddSessionAttributeCleanupAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.livinglogic.struts.workflow.AddSessionAttributeCleanupAction

public class AddSessionAttributeCleanupAction
extends org.apache.struts.action.Action

Action class that adds a cleanup object to the primary workflow that removes the session scope attribute whose name is specified via the action mapping's parameter.

Since:
$Name: $
Version:
$Revision: 1.3 $, $Date: 2004/04/08 14:58:15 $
Author:
M.Bauer, $Author: jason_pratt $

Nested Class Summary
static class AddSessionAttributeCleanupAction.Cleanup
          The cleanup object,this action adds to the primary workflow
 
Field Summary
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
AddSessionAttributeCleanupAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Returns an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddSessionAttributeCleanupAction

public AddSessionAttributeCleanupAction()
Method Detail

execute

public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws Exception
Returns an ActionForward instance describing where and how control should be forwarded, or null if the response has already been completed.

Parameters:
mapping - The ActionMapping used to select this instance
request - The HTTP request we are processing
response - The HTTP response we are creating
Returns:
ActionForward instance that describes where and how control should be forwarded to.
Throws:
Exception - if the application business logic throws an exception


Copyright © 2004 Struts Workflow Extension Team. All Rights Reserved.