Advanced
The Advanced tab has the following fields:.
Field |
Global Var? |
Description |
Construct Declared Class |
No |
This field controls whether the declaring class must be constructed when the activity is executed or whether an object reference must be supplied in the activity’s input schema. When this field is checked, the declaring class is constructed using the default constructor when the activity executes. In this case, the declaring class is not included in the activity’s input schema. When this field is unchecked, you must supply an object reference for the Java Class specified on the Configuration tab. The object must be created and contained in the output schema of a previously executed activity, such as a Java Code activity, Java Method, or an XML To Java activity. In this case, the declaring class is included in the activity’s input schema. |
Cache Constructed Class |
No |
This field is only available when Construct Declared Class is checked. When checked, this specifies that all instances of this Java To XML activity share the instance of the constructed declaring class. If the constructed object is cached, it is kept in memory until the process engine terminates. If this field is unchecked, each instance of this Java To XML activity creates its own copy of the declaring class. For more information about caching the declared class, see Caching the Java Class. |