Class MethodExecutor

    • Constructor Detail

      • MethodExecutor

        public MethodExecutor()
    • 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
      • invokeMethod

        public Object invokeMethod​(Object object,
                                   String methodName,
                                   Class<?>[] valueTypes,
                                   Object... values)
                            throws jakarta.resource.ResourceException
        Throws:
        jakarta.resource.ResourceException