org.apache.myfaces.trinidadinternal.share.expl
Class JavaMethod

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.share.expl.Function
      extended by org.apache.myfaces.trinidadinternal.share.expl.JavaMethod

public final class JavaMethod
extends Function

adapts a java Method object into an EL Function

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/share/expl/JavaMethod.java#0 $) $Date: 10-nov-2005.19:00:14 $
Author:
The Oracle ADF Faces Team

Constructor Summary
JavaMethod(java.lang.reflect.Method method)
           
 
Method Summary
 java.lang.reflect.Method getMethod()
           
 java.lang.Class[] getParameterTypes()
           
 java.lang.Class<?> getReturnType()
           
 java.lang.Object invoke(java.lang.Object instance, java.lang.Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMethod

public JavaMethod(java.lang.reflect.Method method)
Method Detail

invoke

public java.lang.Object invoke(java.lang.Object instance,
                               java.lang.Object[] args)
                        throws java.lang.IllegalAccessException,
                               java.lang.IllegalArgumentException,
                               java.lang.reflect.InvocationTargetException
Specified by:
invoke in class Function
Throws:
java.lang.IllegalAccessException
java.lang.IllegalArgumentException
java.lang.reflect.InvocationTargetException

getParameterTypes

public java.lang.Class[] getParameterTypes()
Specified by:
getParameterTypes in class Function

getReturnType

public java.lang.Class<?> getReturnType()
Specified by:
getReturnType in class Function

getMethod

public java.lang.reflect.Method getMethod()


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.