# 22. Virtuoso Functions Guide - java_call_method

Chapter Contents | Prev | Next
Keyword Search:
www.openlinksw.com
docs.openlinksw.com
Book Home
Contents
Preface
Virtuoso Functions Guide
Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
Virtuoso Java PL API
java_call_method
java_get_property
java_load_class
java_new_object
java_set_property
java_vm_attach
java_vm_detach
Virtuoso Server Extension Interface (VSEI)
Web Server & Internet
XML
XPATH & XQUERY
Functions Index

## java_call_method

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).
See Also

java_vm_attach()

java_set_property()

java_get_property()

java_load_class()

java_new_object()

java_vm_detach()