Package com.sun.gjc.util
Class MethodExecutor
- java.lang.Object
-
- com.sun.gjc.util.MethodExecutor
-
- All Implemented Interfaces:
Serializable
public class MethodExecutor extends Object implements Serializable
Execute the methods based on the parameters.- Version:
- 1.0, 02/07/23
- Author:
- Binod P.G
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MethodExecutor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
runJavaBeanMethod
public void runJavaBeanMethod(String value, Method method, Object obj) throws jakarta.resource.ResourceException
Exceute a simple set Method.- Parameters:
value
- Value to be set.method
-Method
object.obj
- Object on which the method to be executed.- Throws:
jakarta.resource.ResourceException
-
runMethod
public void runMethod(Method method, Object obj, Vector values) throws jakarta.resource.ResourceException
Executes the method.- Parameters:
method
-Method
object.obj
- Object on which the method to be executed.values
- Parameter values for executing the method.- Throws:
jakarta.resource.ResourceException
-
-