Arbortext Command Language > Functions by Alphabetical Listing > java_instance
  
java_instance
ret = java_instance (object, method[, arg1[, arg2[, arg3[, ...arg20]]]])
This function executes Java code by calling method within object and passing it the provided arguments arg1, arg2, arg3, and so on. Up to 20 arguments can be passed to the called method. The value returned by the java_instance function is the returned value from the called method.
The called method must be an instance method. Use the java_static function to call static methods and the java_constructor function to call a constructor. When Java objects are no longer in use, you need to explicitly delete them by using the java_delete
Related Topics
java_instance_modal function
java_constructor function
java_delete function
java_static function
append_javaclass_path function
set javaclasspath command