- TIBCO BusinessEvents®
- Standard
- System

# 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

Name | Type | Description
--- | --- | ---
`className` | `String` | the class name of the Java method.
`method` | `String` | the name of the method.
`parameterTypes` | `String[]` | an array of Class in String format that identify the method's formal parameter types in declared order, use null if no arguments.
`object` | `Object` | the object the underlying method is invoked from, use null for static method.
`parameters` | `Object[]` | the arguments used for the method call, use null if no arguments.

## Returns

Type | Description
--- | ---
`Object` | the result of the java method.