electric.util.reflect
Class MethodLookup

java.lang.Object
  extended byelectric.util.reflect.MethodLookup

public final class MethodLookup
extends java.lang.Object

MethodLookup.

Author:
webMethods

Constructor Summary
MethodLookup()
           
 
Method Summary
static java.lang.reflect.Constructor getConstructor(java.lang.Class type, java.lang.Class[] argClasses)
           
static java.lang.reflect.Constructor getConstructor(java.lang.Class type, int argCount)
           
static java.lang.reflect.Method getMethod(java.lang.Class type, java.lang.String methodName, java.lang.Class[] argClasses)
           
static java.lang.reflect.Method getMethod(java.lang.Class type, java.lang.String methodName, int argCount)
           
static java.lang.reflect.Method[] getMethods(java.lang.Class type, java.lang.String methodName)
           
static java.lang.reflect.Method[] getMethodsWithSignature(java.lang.Class type, java.lang.String signature)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodLookup

public MethodLookup()
Method Detail

getMethodsWithSignature

public static java.lang.reflect.Method[] getMethodsWithSignature(java.lang.Class type,
                                                                 java.lang.String signature)
                                                          throws java.lang.NoSuchMethodException,
                                                                 java.lang.ClassNotFoundException
Parameters:
type -
signature -
Throws:
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException

getMethod

public static java.lang.reflect.Method getMethod(java.lang.Class type,
                                                 java.lang.String methodName,
                                                 java.lang.Class[] argClasses)
                                          throws java.lang.NoSuchMethodException
Parameters:
type -
methodName -
argClasses -
Throws:
java.lang.NoSuchMethodException

getConstructor

public static java.lang.reflect.Constructor getConstructor(java.lang.Class type,
                                                           java.lang.Class[] argClasses)
                                                    throws java.lang.NoSuchMethodException
Parameters:
type -
argClasses -
Throws:
java.lang.NoSuchMethodException

getMethod

public static java.lang.reflect.Method getMethod(java.lang.Class type,
                                                 java.lang.String methodName,
                                                 int argCount)
                                          throws java.lang.NoSuchMethodException
Parameters:
type -
methodName -
argCount -
Throws:
java.lang.NoSuchMethodException

getConstructor

public static java.lang.reflect.Constructor getConstructor(java.lang.Class type,
                                                           int argCount)
                                                    throws java.lang.NoSuchMethodException
Parameters:
type -
argCount -
Throws:
java.lang.NoSuchMethodException

getMethods

public static java.lang.reflect.Method[] getMethods(java.lang.Class type,
                                                    java.lang.String methodName)
Parameters:
type -
methodName -


copyright© 2001-2004 by webMethods All Rights Reserved.