IT. Expert System.

Java Enterprise Edition (EE)

MethodBinding


javax.faces.el
Class MethodBinding

java.lang.Object
  javax.faces.el.MethodBinding
Deprecated. This has been replaced by MethodExpression.

public abstract class MethodBinding
extends java.lang.Object

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 Application instance for this web application.

Constructor Summary
MethodBinding()
          Deprecated.  
 
Method Summary
 java.lang.String getExpressionString()
          Deprecated. Return the (possibly null) expression String, with leading and trailing delimiters, from which this MethodBinding was built.
abstract  java.lang.Class getType(FacesContext context)
          Deprecated. Return the Java class representing the return type from the method identified by this method binding expression.
abstract  java.lang.Object invoke(FacesContext context, java.lang.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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodBinding

public MethodBinding()
Deprecated. 
Method Detail

invoke

public abstract java.lang.Object invoke(FacesContext context,
                                        java.lang.Object[] params)
                                 throws EvaluationException,
                                        MethodNotFoundException
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.

Parameters:
context - FacesContext for the current request
params - Array of parameters to be passed to the called method, or null for no parameters
Throws:
EvaluationException - 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 found
java.lang.NullPointerException - if context is null

getType

public abstract java.lang.Class getType(FacesContext context)
                                 throws MethodNotFoundException
Deprecated. 

Return the Java class representing the return type from the method identified by this method binding expression.

Parameters:
context - FacesContext for the current request
Throws:
MethodNotFoundException - if no suitable method can be found
java.lang.NullPointerException - if context is null

getExpressionString

public java.lang.String getExpressionString()
Deprecated. 

Return the (possibly null) expression String, with leading and trailing delimiters, from which this MethodBinding was built. The default implementation returns null.



Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 208 / 158693950. Delta: 0.00508 с