com.sun.faces.application
Class MethodBindingMethodExpressionAdapter

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by com.sun.faces.application.MethodBindingMethodExpressionAdapter
All Implemented Interfaces:
java.io.Serializable, javax.faces.component.StateHolder

public class MethodBindingMethodExpressionAdapter
extends javax.faces.el.MethodBinding
implements javax.faces.component.StateHolder, java.io.Serializable

Wrap a MethodExpression instance and expose it as a MethodBinding

See Also:
Serialized Form

Field Summary
private  javax.el.MethodExpression methodExpression
           
private static long serialVersionUID
           
private  boolean tranzient
           
 
Constructor Summary
MethodBindingMethodExpressionAdapter()
           
MethodBindingMethodExpressionAdapter(javax.el.MethodExpression methodExpression)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 java.lang.String getExpressionString()
           
 java.lang.Class getType(javax.faces.context.FacesContext context)
           
 javax.el.MethodExpression getWrapped()
           
 int hashCode()
           
 java.lang.Object invoke(javax.faces.context.FacesContext context, java.lang.Object[] params)
           
 boolean isTransient()
           
private static java.lang.Class loadClass(java.lang.String name, java.lang.Object fallbackClass)
           
 void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
           
 java.lang.Object saveState(javax.faces.context.FacesContext context)
           
 void setTransient(boolean tranzient)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

methodExpression

private javax.el.MethodExpression methodExpression

tranzient

private boolean tranzient
Constructor Detail

MethodBindingMethodExpressionAdapter

public MethodBindingMethodExpressionAdapter()

MethodBindingMethodExpressionAdapter

public MethodBindingMethodExpressionAdapter(javax.el.MethodExpression methodExpression)
Method Detail

invoke

public java.lang.Object invoke(javax.faces.context.FacesContext context,
                               java.lang.Object[] params)
                        throws javax.faces.el.EvaluationException,
                               javax.faces.el.MethodNotFoundException
Specified by:
invoke in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.EvaluationException
javax.faces.el.MethodNotFoundException

getType

public java.lang.Class getType(javax.faces.context.FacesContext context)
                        throws javax.faces.el.MethodNotFoundException
Specified by:
getType in class javax.faces.el.MethodBinding
Throws:
javax.faces.el.MethodNotFoundException

getExpressionString

public java.lang.String getExpressionString()
Overrides:
getExpressionString in class javax.faces.el.MethodBinding

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isTransient

public boolean isTransient()
Specified by:
isTransient in interface javax.faces.component.StateHolder

setTransient

public void setTransient(boolean tranzient)
Specified by:
setTransient in interface javax.faces.component.StateHolder

saveState

public java.lang.Object saveState(javax.faces.context.FacesContext context)
Specified by:
saveState in interface javax.faces.component.StateHolder

restoreState

public void restoreState(javax.faces.context.FacesContext context,
                         java.lang.Object state)
Specified by:
restoreState in interface javax.faces.component.StateHolder

getWrapped

public javax.el.MethodExpression getWrapped()

loadClass

private static java.lang.Class loadClass(java.lang.String name,
                                         java.lang.Object fallbackClass)
                                  throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException


Copyright 2002-2011 Oracle America, Inc. All Rights Reserved.