|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester Proxy SDK Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rational.test.ft.domain.ChannelObjectMethodInvoker
public class ChannelObjectMethodInvoker
Constructor Summary | |
---|---|
ChannelObjectMethodInvoker()
|
Method Summary | |
---|---|
static java.lang.Object |
invokeConstructor(IChannel channel, java.lang.String className, java.lang.Class[] signature, java.lang.Object[] args)
Invokes a constructor (by using reflection). |
static java.lang.Object |
invokeMethod(IChannelObject channelObject, java.lang.String method, java.lang.String signature, java.lang.Object[] args)
Invokes a method (by using reflection) on an object that uses channels. |
static java.lang.Object |
invokeMethod(IChannel channel, java.lang.Object object, java.lang.String method, java.lang.String signature, java.lang.Object[] args)
Invokes a method (by using reflection) on an object that uses channels. |
static java.lang.Object |
invokeStaticMethod(IChannel channel, java.lang.String className, java.lang.String method, java.lang.Class[] signature, java.lang.Object[] args)
Invokes a static method (by using reflection) on an object that uses channels. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChannelObjectMethodInvoker()
Method Detail |
---|
public static java.lang.Object invokeMethod(IChannelObject channelObject, java.lang.String method, java.lang.String signature, java.lang.Object[] args)
channelObject
- The object whose method is to be invoked.method
- The method to invoke.signature
- The JNI signature of the paramaters of the method to be invoked.args
- An array that contains the parameters of the
the method.public static java.lang.Object invokeMethod(IChannel channel, java.lang.Object object, java.lang.String method, java.lang.String signature, java.lang.Object[] args)
channel
- The channel on which we should invoke the objectobject
- The object whose method is to be invoked.method
- The method to invoke.signature
- The JNI signature of the paramaters of the method to be invoked.args
- An array that contains the parameters of the
the method.public static java.lang.Object invokeStaticMethod(IChannel channel, java.lang.String className, java.lang.String method, java.lang.Class[] signature, java.lang.Object[] args)
channel
- The channel on which the method should be invoked.className
- The name of the class whose method is to be invoked.method
- The name of the method to invoke.signature
- An array of class objects that represent
the parameters of the method.args
- An array that contains the arguments of the
the method.public static java.lang.Object invokeConstructor(IChannel channel, java.lang.String className, java.lang.Class[] signature, java.lang.Object[] args)
channel
- The channel on which the constructor should be invoked.method
- The method to invoke.signature
- An array of class objects that represent
the parameters of the constructor.args
- An array that contains the arguments of the
the constructor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |