public final class LegacyMethodBinding extends MethodBinding implements Serializable
| Constructor and Description |
|---|
LegacyMethodBinding(javax.el.MethodExpression m)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExpressionString()
Deprecated.
Return the (possibly
null) expression String,
with leading and trailing delimiters, from which this
MethodBinding was built. |
Class |
getType(FacesContext context)
Deprecated.
Return the Java class representing the return type from the
method identified by this method binding expression.
|
Object |
invoke(FacesContext context,
Object[] params)
Deprecated.
Return the return value (if any) resulting from a call to the
method identified by this method binding expression, passing it
the specified parameters, relative to the specified
FacesContext. |
public LegacyMethodBinding(javax.el.MethodExpression m)
public Class getType(FacesContext context) throws MethodNotFoundException
MethodBindingReturn the Java class representing the return type from the method identified by this method binding expression.
getType in class MethodBindingcontext - FacesContext for the current requestMethodNotFoundException - if no suitable method can be foundpublic Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException
MethodBindingReturn the return value (if any) resulting from a call to the
method identified by this method binding expression, passing it
the specified parameters, relative to the specified FacesContext.
invoke in class MethodBindingcontext - FacesContext for the current requestparams - Array of parameters to be passed to the called method,
or null for no parametersEvaluationException - if an exception is thrown
by the called method (the thrown exception must be included as the
cause property of this exception)MethodNotFoundException - if no suitable method can be foundpublic String getExpressionString()
MethodBindingReturn the (possibly null) expression String,
with leading and trailing delimiters, from which this
MethodBinding was built. The default implementation
returns null.
getExpressionString in class MethodBindingComments to: faces-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All rights reserved.
Use is subject to license terms.