|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jorphan.reflect.ClassTools
Utility methods for handling dynamic access to classes.
| Constructor Summary | |
ClassTools()
|
|
| Method Summary | |
static Object |
construct(String className)
Call no-args constructor for a class. |
static Object |
construct(String className,
int parameter)
Call a class constructor with an integer parameter |
static void |
invoke(Object instance,
String methodName)
Invoke a public method on a class instance |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClassTools()
| Method Detail |
public static Object construct(String className)
throws JMeterException
className -
JMeterException - if class cannot be created
public static Object construct(String className,
int parameter)
throws JMeterException
className - parameter - (integer)
JMeterException - if class cannot be created
public static void invoke(Object instance,
String methodName)
throws SecurityException,
IllegalArgumentException,
JMeterException
instance - methodName -
SecurityException
IllegalArgumentException
JMeterException
|
Apache JMeter | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||