com.ptc.windchill.classproxy
Class ClassProxy

java.lang.Object
  extended bycom.ptc.windchill.classproxy.ClassProxy
Direct Known Subclasses:
CadxClassProxy, ConsoleClassProxy, ILGWProxy, ProwtClassProxy, UwgmClassProxy

public abstract class ClassProxy
extends Object


Constructor Summary
ClassProxy()
           
 
Method Summary
protected static Object getField(Object object, String className, String fieldName)
           
protected static Object getField(String className, String fieldName)
           
protected static Object invokeMethod(Method method, Object[] args)
           
protected static Object invokeMethod(Object object, Method method, Object[] args)
           
protected static Method locateMethod(String className, String methodName, Class[] argClasses)
           
protected static Method locateMethod(String className, String methodName, String[] argClassNames)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassProxy

public ClassProxy()
Method Detail

locateMethod

protected static Method locateMethod(String className,
                                     String methodName,
                                     Class[] argClasses)

locateMethod

protected static Method locateMethod(String className,
                                     String methodName,
                                     String[] argClassNames)

invokeMethod

protected static Object invokeMethod(Method method,
                                     Object[] args)
                              throws WTException
Throws:
WTException

invokeMethod

protected static Object invokeMethod(Object object,
                                     Method method,
                                     Object[] args)
                              throws WTException
Throws:
WTException

getField

protected static Object getField(Object object,
                                 String className,
                                 String fieldName)

getField

protected static Object getField(String className,
                                 String fieldName)