org.ajax4jsf.tests
Class MockMethodBinding

java.lang.Object
  extended by javax.faces.el.MethodBinding
      extended by org.ajax4jsf.tests.MockMethodBinding

public class MockMethodBinding
extends javax.faces.el.MethodBinding

Author:
Nick - mailto:nbelaevski@exadel.com created 09.04.2007

Nested Class Summary
static interface MockMethodBinding.MethodResult
           
 
Constructor Summary
MockMethodBinding()
           
MockMethodBinding(java.lang.Class returnType, MockMethodBinding.MethodResult result)
           
 
Method Summary
 void clear()
           
 java.lang.Object[][] getInvocationArgs()
           
 java.lang.Class getType(javax.faces.context.FacesContext context)
           
 java.lang.Object invoke(javax.faces.context.FacesContext context, java.lang.Object[] params)
           
 
Methods inherited from class javax.faces.el.MethodBinding
getExpressionString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockMethodBinding

public MockMethodBinding()

MockMethodBinding

public MockMethodBinding(java.lang.Class returnType,
                         MockMethodBinding.MethodResult result)
Method Detail

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

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

clear

public void clear()

getInvocationArgs

public java.lang.Object[][] getInvocationArgs()


Copyright © 2009. All Rights Reserved.