System.execJava()

Signature

Object execJava(String className, String method, String[] parameterTypes, Object object, Object[] parameters)

Domain

ACTION, CONDITION, QUERY, BUI

Description

Executes the specified Java method with the object instance and parameters.

Parameters

NameTypeDescription
classNameStringthe class name of the Java method.
methodStringthe name of the method.
parameterTypesString[]an array of Class in String format that identify the method's formal parameter types in declared order, use null if no arguments.
objectObjectthe object the underlying method is invoked from, use null for static method.
parametersObject[]the arguments used for the method call, use null if no arguments.

Returns

TypeDescription
Objectthe result of the java method.