public class MethodExecutor extends Object implements Serializable
Constructor and Description |
---|
MethodExecutor() |
Modifier and Type | Method and Description |
---|---|
Object |
invokeMethod(Object object,
String methodName,
Class<?>[] valueTypes,
Object... values) |
void |
runJavaBeanMethod(String value,
Method method,
Object obj)
Exceute a simple set Method.
|
void |
runMethod(Method method,
Object obj,
Vector values)
Executes the method.
|
public void runJavaBeanMethod(String value, Method method, Object obj) throws javax.resource.ResourceException
value
- Value to be set.method
- Method
object.obj
- Object on which the method to be executed.ResourceException
,
- in case of the mismatch of parameter values or
a security violation.javax.resource.ResourceException
public void runMethod(Method method, Object obj, Vector values) throws javax.resource.ResourceException
method
- Method
object.obj
- Object on which the method to be executed.values
- Parameter values for executing the method.ResourceException
,
- in case of the mismatch of parameter values or
a security violation.javax.resource.ResourceException
Copyright © 2018. All rights reserved.