com.ibm.btt.invoker.utils
Class InvokerUtils
java.lang.Object
com.ibm.btt.invoker.utils.InvokerUtils
public class InvokerUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvokerUtils
public InvokerUtils()
convertParametersToObjects
public static java.lang.Object[] convertParametersToObjects(Parameter[] param)
- convert invoker input data parameter into object array
Then the object array can be parameter to call invoker.
For example :
Object[] requestValue=InvokerUtils.convertParametersToObjects(map);
inv.execute(requestValue);
- Parameters:
param
-
- Returns:
convertParametersToObjects
public static java.lang.Object[] convertParametersToObjects(java.util.LinkedHashMap parameters)
- convert invoker input data parameter into object array
Then the object array can be parameter to call invoker.
For example :
Object[] requestValue=InvokerUtils.convertParametersToObjects(map);
inv.execute(requestValue);
- Parameters:
parameters
-
- Returns:
convertParametersToTypes
public static java.lang.Class[] convertParametersToTypes(java.util.LinkedHashMap parameters)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
convertParametersToTypes
public static java.lang.Class[] convertParametersToTypes(Parameter[] param)
throws java.lang.ClassNotFoundException
- Throws:
java.lang.ClassNotFoundException
getInvokerExecuteMethod
public static java.lang.reflect.Method getInvokerExecuteMethod()
(c) Copyright IBM Corporation 1998, 2010