org.globus.mds.webmds
Class Reflection

java.lang.Object
  extended byorg.globus.mds.webmds.Reflection

public class Reflection
extends Object


Constructor Summary
Reflection()
           
 
Method Summary
static Object call(Class theClass, String methodName, Object[] arguments)
           
static Object call(Class theClass, String methodName, Object[] arguments, Class[] argumentTypes)
           
static Object call(String className, String methodName, Object[] arguments)
           
static Object call(String className, String methodName, Object[] arguments, Class[] argumentTypes)
           
static Object invokeMethod(Class theClass, Method method, Object[] arguments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Reflection

public Reflection()
Method Detail

call

public static Object call(Class theClass,
                          String methodName,
                          Object[] arguments,
                          Class[] argumentTypes)
                   throws ReflectionException,
                          InvocationTargetException
Throws:
ReflectionException
InvocationTargetException

call

public static Object call(Class theClass,
                          String methodName,
                          Object[] arguments)
                   throws ReflectionException,
                          InvocationTargetException
Throws:
ReflectionException
InvocationTargetException

call

public static Object call(String className,
                          String methodName,
                          Object[] arguments,
                          Class[] argumentTypes)
                   throws ReflectionException,
                          InvocationTargetException
Throws:
ReflectionException
InvocationTargetException

call

public static Object call(String className,
                          String methodName,
                          Object[] arguments)
                   throws ReflectionException,
                          InvocationTargetException
Throws:
ReflectionException
InvocationTargetException

invokeMethod

public static Object invokeMethod(Class theClass,
                                  Method method,
                                  Object[] arguments)
                           throws ReflectionException,
                                  InvocationTargetException
Throws:
ReflectionException
InvocationTargetException


Copyright © 1999-2006 University of Chicago. All rights reserved.