org.apache.myfaces.el

Class MethodBindingImpl

Implemented Interfaces:
StateHolder

public class MethodBindingImpl
extends MethodBinding
implements StateHolder

Version:
$Revision: 278654 $ $Date: 2005-09-05 02:32:35 +0200 (Mon, 05 Sep 2005) $
Author:
Anton Koinov (latest modification by $Author: oros $)

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()

Constructor Details

MethodBindingImpl

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

MethodBindingImpl

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

Method Details

getExpressionString

public String getExpressionString()

getType

public Class getType(FacesContext facesContext)

invoke

public Object invoke(FacesContext facesContext,
                     Object[] args)
            throws EvaluationException,
                   MethodNotFoundException

isTransient

public boolean isTransient()

resolveToBaseAndProperty

protected Object[] resolveToBaseAndProperty(FacesContext facesContext)
            throws ELException

restoreState

public void restoreState(FacesContext facescontext,
                         Object obj)

saveState

public Object saveState(FacesContext facescontext)

setTransient

public void setTransient(boolean flag)

toString

public String toString()