Name
java_call_method
Synopsis
java_call_method
(
|
in class_name varchar , |
in instance_obj varchar , | |
in method_name varchar , | |
in method_ret_sig varchar , | |
arg1, ...
) ; |
Description
Calls a class method using the supplied parameters (if any) and returns the return value (if any). If instance_obj is supplied (not NULL) then this function searches for a non-static method otherwise for static.
Parameters
class_name
The name of the Java class.
instance_obj
the Java VM class instance reference value (for example returned by java_new_object VSEI). Can be NULL.
method_name
the name of the method to call
metjod_ret_name
the JNI type signature of the method's return value (or V for void).
arg1, ...
method parameters (as in java_new_object).