org.jboss.portal.faces.util
Class ActionEventDispatcher

java.lang.Object
  extended by org.jboss.portal.faces.util.ActionEventDispatcher

public class ActionEventDispatcher
extends java.lang.Object

The purpose of this class is to dispatch an event to the action listeners attached to an instance of UICommand object. It will iterate the set of listeners returned by the method UICommand.getActionListeners() (SunRI) and the listener evaluated by the method binding returned by the method getActionListener() (MyFaces). So overally we try to encapsulate the delivery of an action event in a portable way accross JSF implementations.

Version:
$Revision: 8784 $
Author:
Julien Viet

Constructor Summary
ActionEventDispatcher(javax.faces.component.UICommand command)
           
 
Method Summary
 void dispatch(javax.faces.context.FacesContext faces, javax.faces.event.ActionEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionEventDispatcher

public ActionEventDispatcher(javax.faces.component.UICommand command)
Method Detail

dispatch

public void dispatch(javax.faces.context.FacesContext faces,
                     javax.faces.event.ActionEvent event)
              throws javax.faces.event.AbortProcessingException
Throws:
javax.faces.event.AbortProcessingException