## Uses of Class
javax.faces.el.MethodBinding

- Packages that use MethodBinding
  Package | Description
  --- | ---
  javax.faces.application | APIs that are used to link an application's business logic objects to JavaServer Faces, as well as convenient pluggable mechanisms to manage the execution of an application that is based on JavaServer Faces.
  javax.faces.component | Fundamental APIs for user interface components.

- - ### Uses of MethodBinding in javax.faces.application

    Methods in javax.faces.application that return MethodBinding
    Modifier and Type | Method and Description
    --- | ---
    `MethodBinding` | ApplicationWrapper.`createMethodBinding(String ref, Class<?>[] params)` Deprecated. See superclass for alternative.
    `abstract MethodBinding` | Application.`createMethodBinding(String ref, Class<?>[] params)` Deprecated. This has been replaced by calling `Application.getExpressionFactory()` then `ExpressionFactory.createMethodExpression(javax.el.ELContext, java.lang.String, java.lang.Class<?>, java.lang.Class<?>[])`.

  - ### Uses of MethodBinding in javax.faces.component

    Methods in javax.faces.component that return MethodBinding
    Modifier and Type | Method and Description
    --- | ---
    `MethodBinding` | UIViewAction.`getAction()` Deprecated.
    `MethodBinding` | UICommand.`getAction()` Deprecated. This has been replaced by `UICommand.getActionExpression()`.
    `MethodBinding` | ActionSource.`getAction()` Deprecated. This has been replaced by `ActionSource2.getActionExpression()`.
    `MethodBinding` | UIViewAction.`getActionListener()` Deprecated.
    `MethodBinding` | UICommand.`getActionListener()` Deprecated. Use `UICommand.getActionListeners()` instead.
    `MethodBinding` | ActionSource.`getActionListener()` Deprecated. Use `ActionSource.getActionListeners()` instead.
    `MethodBinding` | UIInput.`getValidator()` Deprecated. `UIInput.getValidators()` should be used instead.
    `MethodBinding` | EditableValueHolder.`getValidator()` Deprecated. `EditableValueHolder.getValidators()` should be used instead.
    `MethodBinding` | UIInput.`getValueChangeListener()`
    `MethodBinding` | EditableValueHolder.`getValueChangeListener()` Deprecated. Use `EditableValueHolder.getValueChangeListeners()` instead.

    Methods in javax.faces.component with parameters of type MethodBinding
    Modifier and Type | Method and Description
    --- | ---
    `void` | UIViewAction.`setAction(MethodBinding action)` Deprecated.
    `void` | UICommand.`setAction(MethodBinding action)` Deprecated. This has been replaced by `UICommand.setActionExpression(javax.el.MethodExpression)`.
    `void` | ActionSource.`setAction(MethodBinding action)` Deprecated. This has been replaced by `ActionSource2.setActionExpression(javax.el.MethodExpression)`.
    `void` | UIViewAction.`setActionListener(MethodBinding actionListener)` Deprecated.
    `void` | UICommand.`setActionListener(MethodBinding actionListener)` Deprecated. This has been replaced by `UICommand.addActionListener(javax.faces.event.ActionListener)`.
    `void` | ActionSource.`setActionListener(MethodBinding actionListener)` Deprecated. This has been replaced by `ActionSource.addActionListener(javax.faces.event.ActionListener)`.
    `void` | UIInput.`setValidator(MethodBinding validatorBinding)` Deprecated. Use `UIInput.addValidator(javax.faces.validator.Validator)` instead, obtaining the argument `Validator` by creating an instance of `MethodExpressionValidator`.
    `void` | EditableValueHolder.`setValidator(MethodBinding validatorBinding)` Deprecated. Use `EditableValueHolder.addValidator(javax.faces.validator.Validator)` instead, obtaining the argument `Validator` by creating an instance of `MethodExpressionValidator`.
    `void` | UIInput.`setValueChangeListener(MethodBinding valueChangeListener)` Deprecated. Use `UIInput.addValueChangeListener(javax.faces.event.ValueChangeListener)` instead, obtaining the argument `ValueChangeListener` by creating an instance of `MethodExpressionValueChangeListener`.
    `void` | EditableValueHolder.`setValueChangeListener(MethodBinding valueChangeMethod)` Deprecated. Use `EditableValueHolder.addValueChangeListener(javax.faces.event.ValueChangeListener)` instead, obtaining the argument `ValueChangeListener` by creating an instance of `MethodExpressionValueChangeListener`.

Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.