UIX 2.2.16

oracle.cabo.share.expl
Class JavaMethod

java.lang.Object
  |
  +--oracle.cabo.share.expl.Function
        |
        +--oracle.cabo.share.expl.JavaMethod

public final class JavaMethod
extends Function

adapts a java Method object into an EL Function


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
Overrides:
invoke in class Function

getParameterTypes

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

getReturnType

public java.lang.Class getReturnType()
Overrides:
getReturnType in class Function

getMethod

public java.lang.reflect.Method getMethod()

UIX 2.2.16