@Deprecated public final class LegacyMethodBinding extends jakarta.faces.el.MethodBinding implements Serializable
| Constructor and Description |
|---|
LegacyMethodBinding(jakarta.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(jakarta.faces.context.FacesContext context)
Deprecated.
Return the Java class representing the return type from the method identified by this method binding expression.
|
Object |
invoke(jakarta.faces.context.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(jakarta.el.MethodExpression m)
public Class getType(jakarta.faces.context.FacesContext context) throws jakarta.faces.el.MethodNotFoundException
jakarta.faces.el.MethodBindingReturn the Java class representing the return type from the method identified by this method binding expression.
getType in class jakarta.faces.el.MethodBindingcontext - FacesContext for the current requestjakarta.faces.el.MethodNotFoundException - if no suitable method can be foundpublic Object invoke(jakarta.faces.context.FacesContext context, Object[] params) throws jakarta.faces.el.EvaluationException, jakarta.faces.el.MethodNotFoundException
jakarta.faces.el.MethodBinding
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.
invoke in class jakarta.faces.el.MethodBindingcontext - FacesContext for the current requestparams - Array of parameters to be passed to the called method, or null for no parametersjakarta.faces.el.EvaluationException - if an exception is thrown by the called method (the thrown exception must be included as
the cause property of this exception)jakarta.faces.el.MethodNotFoundException - if no suitable method can be foundpublic String getExpressionString()
jakarta.faces.el.MethodBinding
Return the (possibly null) expression String, with leading and trailing delimiters, from which this
MethodBinding was built. The default implementation returns null.
getExpressionString in class jakarta.faces.el.MethodBindingCopyright © 2010–2022 JBoss by Red Hat. All rights reserved.