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