org.apache.myfaces.el
Class MethodBindingImpl

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by org.apache.myfaces.el.MethodBindingImpl
All Implemented Interfaces:
StateHolder

public class MethodBindingImpl
extends MethodBinding
implements StateHolder

Version:
$Revision: 472618 $ $Date: 2006-11-08 15:06:54 -0500 (Wed, 08 Nov 2006) $
Author:
Anton Koinov (latest modification by $Author: grantsmith $)

Constructor Summary
MethodBindingImpl()
          Empty constructor, so that new instances can be created when restoring state.
MethodBindingImpl(Application application, String reference, Class[] argClasses)
           
 
Method Summary
 String getExpressionString()
           
 Class getType(FacesContext facesContext)
           
 Object invoke(FacesContext facesContext, Object[] args)
           
 boolean isTransient()
           
protected  Object[] resolveToBaseAndProperty(FacesContext facesContext)
           
 void restoreState(FacesContext facescontext, Object obj)
           
 Object saveState(FacesContext facescontext)
           
 void setTransient(boolean flag)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodBindingImpl

public MethodBindingImpl(Application application,
                         String reference,
                         Class[] argClasses)

MethodBindingImpl

public MethodBindingImpl()
Empty constructor, so that new instances can be created when restoring state.

Method Detail

getExpressionString

public String getExpressionString()
Overrides:
getExpressionString in class MethodBinding

getType

public Class getType(FacesContext facesContext)
Specified by:
getType in class MethodBinding

invoke

public Object invoke(FacesContext facesContext,
                     Object[] args)
              throws EvaluationException,
                     MethodNotFoundException
Specified by:
invoke in class MethodBinding
Throws:
EvaluationException
MethodNotFoundException

resolveToBaseAndProperty

protected Object[] resolveToBaseAndProperty(FacesContext facesContext)
                                     throws javax.servlet.jsp.el.ELException
Throws:
javax.servlet.jsp.el.ELException

toString

public String toString()
Overrides:
toString in class Object

saveState

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

restoreState

public void restoreState(FacesContext facescontext,
                         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


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