javax.faces.event
Class MethodExpressionActionListener

java.lang.Object
  extended by javax.faces.event.MethodExpressionActionListener
All Implemented Interfaces:
EventListener, StateHolder, ActionListener, FacesListener

public class MethodExpressionActionListener
extends Object
implements ActionListener, StateHolder

See Javadoc of JSF Specification

Author:
Stan Silvert

Constructor Summary
MethodExpressionActionListener()
          Creates a new instance of MethodExpressionActionListener
MethodExpressionActionListener(javax.el.MethodExpression methodExpressionOneArg)
           
MethodExpressionActionListener(javax.el.MethodExpression methodExpressionOneArg, javax.el.MethodExpression methodExpressionZeroArg)
           
 
Method Summary
 boolean isTransient()
           
 void processAction(ActionEvent actionEvent)
           
 void restoreState(FacesContext context, Object state)
           
 Object saveState(FacesContext context)
           
 void setTransient(boolean newTransientValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodExpressionActionListener

public MethodExpressionActionListener()
Creates a new instance of MethodExpressionActionListener


MethodExpressionActionListener

public MethodExpressionActionListener(javax.el.MethodExpression methodExpressionOneArg)

MethodExpressionActionListener

public MethodExpressionActionListener(javax.el.MethodExpression methodExpressionOneArg,
                                      javax.el.MethodExpression methodExpressionZeroArg)
Method Detail

processAction

public void processAction(ActionEvent actionEvent)
                   throws AbortProcessingException
Specified by:
processAction in interface ActionListener
Throws:
AbortProcessingException

restoreState

public void restoreState(FacesContext context,
                         Object state)
Specified by:
restoreState in interface StateHolder

saveState

public Object saveState(FacesContext context)
Specified by:
saveState in interface StateHolder

setTransient

public void setTransient(boolean newTransientValue)
Specified by:
setTransient in interface StateHolder

isTransient

public boolean isTransient()
Specified by:
isTransient in interface StateHolder


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.