© 2002 BEA Systems, Inc.


com.bea.portal.appflow.processor
Class PortletEventProcessor

java.lang.Object
  |
  +--com.bea.portal.appflow.processor.AbstractPortalProcessor
        |
        +--com.bea.portal.appflow.processor.PortletEventProcessor

public class PortletEventProcessor
extends AbstractPortalProcessor

The PortletEventProcessor invokes user defined portlet events, as defined by the portlet's webflow file. This processor gets invoked when the true webflow event (PORTLET_WEBFLOW_EVENT) is invoked. This processor then extracts the portlets webflow event from the HttpServletRequest parameter to invoke the portlet's webflow

See Also:
PortalAppflowConstants.PORTLET_WEBFLOW_EVENT, PortalAppflowConstants.PORTLET_WEBFLOW_EVENT_PARAMETER

Constructor Summary
PortletEventProcessor()
           
 
Method Summary
 java.lang.Object process(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, PortalRequest portalRequest, java.lang.Object requestContext)
          Main process method called by webflow.
 
Methods inherited from class com.bea.portal.appflow.processor.AbstractPortalProcessor
getCurrentPortletState, process
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletEventProcessor

public PortletEventProcessor()
Method Detail

process

public java.lang.Object process(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response,
                                PortalRequest portalRequest,
                                java.lang.Object requestContext)
                         throws ProcessingException
Main process method called by webflow. This processor extracts the portlets webflow event from the HttpServletRequest parameter "wfevent". And invokes that event in the portlets webflow file. The "wfevent" parameter is placed there automatically by the portlet:createWebflowEvent tag.

Overrides:
process in class AbstractPortalProcessor

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved