Deprecated
as a consequence of MethodBinding being deprecated. See corresponding docs for further information.
Wrap a MethodExpression instance and expose it as a MethodBinding
| Modifier and Type | Field and Description |
|---|---|
| private MethodExpression | |
| private static final long | |
| private boolean |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public String | getExpressionString()
Overrides javax. Return the (possibly |
| public Class | getType(FacesContext
FacesContext for the current requestImplements abstract javax. Return the Java class representing the return type from the method identified by this method binding expression. |
| public MethodExpression | |
| public int | |
| public Object | invoke(FacesContext
FacesContext for the current requestArray of parameters to be passed to the called method,
or params)null for no parametersImplements abstract javax. 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 |
| public boolean | isTransient()
Implements javax. If true, the Object implementing this interface must not participate in state saving or restoring. |
| public void | restoreState(FacesContext
the Faces context. context, Object the state. state)Implements javax. Perform any processing required to restore the state from the entries in the state Object. |
| public Object | saveState(FacesContext
the Faces context. context)Implements javax. Gets the state of the instance as a
|
| public void | setTransient(boolean
boolean pass tranzient)true if this
Object will not
participate in state saving or restoring, otherwise pass
false.Implements javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring. |
| methodExpression | back to summary |
|---|---|
| private MethodExpression methodExpression | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| tranzient | back to summary |
|---|---|
| private boolean tranzient | |
| MethodBindingMethodExpressionAdapter | back to summary |
|---|---|
| public MethodBindingMethodExpressionAdapter() | |
| MethodBindingMethodExpressionAdapter | back to summary |
|---|---|
| public MethodBindingMethodExpressionAdapter(MethodExpression methodExpression) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getExpressionString | back to summary |
|---|---|
| public String getExpressionString() Overrides javax. Doc from javax. Return the (possibly
| |
| getType | back to summary |
|---|---|
| public Class Implements abstract javax. Doc from javax. Return the Java class representing the return type from the method identified by this method binding expression.
| |
| getWrapped | back to summary |
|---|---|
| public MethodExpression getWrapped() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| invoke | back to summary |
|---|---|
| public Object invoke(FacesContext context, Object[] params) throws EvaluationException, MethodNotFoundException Implements abstract javax. Doc from javax. 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
| |
| isTransient | back to summary |
|---|---|
| public boolean isTransient() Implements javax. Doc from javax. If true, the Object implementing this interface must not participate in state saving or restoring.
| |
| restoreState | back to summary |
|---|---|
| public void restoreState(FacesContext context, Object state) Implements javax. Doc from javax. Perform any processing required to restore the state from the entries in the state Object. If the class that implements this interface has references to
instances that also implement StateHolder (such as a
If the
| |
| saveState | back to summary |
|---|---|
| public Object saveState(FacesContext context) Implements javax. Doc from javax. Gets the state of the instance as a
If the class that implements this interface has references to
instances that implement StateHolder (such as a
This method must not alter the state of the implementing object. In other words, after executing this code:
The return from this method must be
| |
| setTransient | back to summary |
|---|---|
| public void setTransient(boolean tranzient) Implements javax. Doc from javax. Denotes whether or not the Object implementing this interface must or must not participate in state saving or restoring.
| |