Deprecated
This has been replaced by javax.el.MethodExpression.
MethodBinding is an object that can be used
to call an arbitrary public method, on an instance that is acquired by
evaluatng the leading portion of a method binding expression via a
ValueBinding. An immutable MethodBinding for a particular
method binding expression can be acquired by calling the
createMethodBinding() method of the
javax.faces.application.Application instance for this web
application.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the expression stringReturn the (possibly |
| public abstract Class | Returns: the type of the return valueFacesContext for the current requestReturn the Java class representing the return type from the method identified by this method binding expression. |
| public abstract Object | Returns: the result of the invocationFacesContext for the current requestArray of parameters to be passed to the called method,
or params)null for no parametersReturn 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 |
| MethodBinding | back to summary |
|---|---|
| public MethodBinding() | |
| getExpressionString | back to summary |
|---|---|
| public String getExpressionString() Return the (possibly
| |
| getType | back to summary |
|---|---|
| public abstract Class Return the Java class representing the return type from the method identified by this method binding expression.
| |
| invoke | back to summary |
|---|---|
| public abstract Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException 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
| |