Invokes a named method on the specified Java object.

Class Name

atg.droplet.Invoke

Component

/atg/dynamo/droplet/Invoke

Required Input Parameters

object

The object whose method is invoked.

method

The method to invoke, an instance of java.lang.reflect.Method or the name of a public method declared in the object-specified value as a String. The method java.lang.Class.getMethod() finds the named method.

args

An array of arguments supplied to the specified method. Omit this parameter if the method takes no arguments. If the value is of type Object, the method assumes it takes a single argument. If the value if an array of Objects the method assumes it takes these objects as arguments.

Output Parameters

return

The object returned by the method, null if the method returns void.

throwable

An exception that is thrown when the method executes, null if no exception is thrown.

Open Parameters

output

Rendered if no errors occur.

catch

Rendered if a checked exceptions occurs during method execution. The throwable parameter is set to the thrown exception.

finally

Rendered if an error during method execution. The throwable parameter is set to the exception thrown.