public final class LegacyMethodBinding extends javax.faces.el.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(javax.faces.context.FacesContext context)
Deprecated.
Return the Java class representing the return type from the
method identified by this method binding expression.
|
Object |
invoke(javax.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(javax.el.MethodExpression m)
public Class getType(javax.faces.context.FacesContext context) throws javax.faces.el.MethodNotFoundException
javax.faces.el.MethodBindingReturn the Java class representing the return type from the method identified by this method binding expression.
getType in class javax.faces.el.MethodBindingcontext - FacesContext for the current requestjavax.faces.el.MethodNotFoundException - if no suitable method can be foundpublic Object invoke(javax.faces.context.FacesContext context, Object[] params) throws javax.faces.el.EvaluationException, javax.faces.el.MethodNotFoundException
javax.faces.el.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 javax.faces.el.MethodBindingcontext - FacesContext for the current requestparams - Array of parameters to be passed to the called method,
or null for no parametersjavax.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)javax.faces.el.MethodNotFoundException - if no suitable method can be foundpublic String getExpressionString()
javax.faces.el.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 javax.faces.el.MethodBindingCopyright © 2010–2020 JBoss by Red Hat. All rights reserved.