Advanced

The Advanced tab has the following fields:.

Field

Global Var?

Description

Java Global Instance

No

A Java Global Instance resource. Specify a value in this field if you want to reference a Java Global Instance resource in your JavaProcessStarter implementation class. You can use the getGlobalInstance() method to obtain a reference to the Java Global Instance resource.

For more information about Java Global Instance resources, see Java Global Instance.

Convert Output Object To XML

No

When this field is unchecked, the object passed to the onEvent() method is output by this process starter as a Java object reference. You can use the Java To XML activity to render the Java object as an XML tree, if desired.

Check this field if you want the data of the input object to the onEvent() method to be converted to an XML tree in this process starter’s output.

For the output to be returned as an XML tree, the output object type must be specified. To achieve this, you must add the getOutputObjectType() class to your implemenntation class. For example, the output can be a string:

public Class getOutputObjectType() {
   return String.class;
}

Then, the object you pass into the input parameter of the onEvent() method must be a String.