org.apache.myfaces.shared_orchestra.el
Class SimpleActionMethodBinding
java.lang.Object
javax.faces.el.MethodBinding
org.apache.myfaces.shared_orchestra.el.SimpleActionMethodBinding
- All Implemented Interfaces:
- javax.faces.component.StateHolder
public class SimpleActionMethodBinding
- extends javax.faces.el.MethodBinding
- implements javax.faces.component.StateHolder
Convenient method binding that does nothing other than returning a fixed outcome String when invoked.
- Author:
- Manfred Geiler
Methods inherited from class javax.faces.el.MethodBinding |
getExpressionString |
SimpleActionMethodBinding
public SimpleActionMethodBinding(String outcome)
SimpleActionMethodBinding
public SimpleActionMethodBinding()
- Empty constructor, so that new instances can be created when restoring state.
invoke
public Object invoke(javax.faces.context.FacesContext facescontext,
Object[] aobj)
throws javax.faces.el.EvaluationException,
javax.faces.el.MethodNotFoundException
- Specified by:
invoke
in class javax.faces.el.MethodBinding
- Throws:
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException
getType
public Class getType(javax.faces.context.FacesContext facescontext)
throws javax.faces.el.MethodNotFoundException
- Specified by:
getType
in class javax.faces.el.MethodBinding
- Throws:
javax.faces.el.MethodNotFoundException
saveState
public Object saveState(javax.faces.context.FacesContext facescontext)
- Specified by:
saveState
in interface javax.faces.component.StateHolder
restoreState
public void restoreState(javax.faces.context.FacesContext facescontext,
Object obj)
- Specified by:
restoreState
in interface javax.faces.component.StateHolder
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface javax.faces.component.StateHolder
setTransient
public void setTransient(boolean flag)
- Specified by:
setTransient
in interface javax.faces.component.StateHolder
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.