org.apache.myfaces.shared_orchestra.el
Class SimpleActionMethodBinding
java.lang.Object
MethodBinding
org.apache.myfaces.shared_orchestra.el.SimpleActionMethodBinding
public class SimpleActionMethodBinding
- extends MethodBinding
Convenient method binding that does nothing other than returning a fixed outcome String when invoked.
- Author:
- Manfred Geiler
Method Summary |
java.lang.Class |
getType(FacesContext facescontext)
|
java.lang.Object |
invoke(FacesContext facescontext,
java.lang.Object[] aobj)
|
boolean |
isTransient()
|
void |
restoreState(FacesContext facescontext,
java.lang.Object obj)
|
java.lang.Object |
saveState(FacesContext facescontext)
|
void |
setTransient(boolean flag)
|
java.lang.String |
toString()
|
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
- Throws:
EvaluationException
MethodNotFoundException
getType
public java.lang.Class getType(FacesContext facescontext)
throws MethodNotFoundException
- Throws:
MethodNotFoundException
saveState
public java.lang.Object saveState(FacesContext facescontext)
restoreState
public void restoreState(FacesContext facescontext,
java.lang.Object obj)
isTransient
public boolean isTransient()
setTransient
public void setTransient(boolean flag)
toString
public java.lang.String toString()
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.