Back Forward Property form
Completing the General tab for Java Property and Java Object modes
 

About Property rules

Advanced featureUse this table to complete the General tab fields that appear for a property that has a mode of Java Object, Java Object List, Java Object Group, Java Property or Java Property List. Such properties are typically used in conjunction with JSR 94 services (Rule-Service-JSR94 rule type), EJB services (Rule-Service-EJB), Java service rules (Rule-Service-Java), or EJB connectors (Rule-Connect-EJB), and Java connectors (Rule-Connect-Java).

A Java Object property on the clipboard holds a reference to an instance of a Java object. A Java Property property represents a single property in the Java class that defines an instance of a Java class.

Properties of the Java Property modes support the Java pages feature that enables your PRPC application to attach external Java objects to clipboard pages, where they can be processed by any rule type. Properties of the Java Object modes can be manipulated within the Java steps of activities only.

For information about the Java pages feature, see PDNWorking with the Java Pages Feature, a document on the Integration area of the PDN.

For basic information about the General tab and choosing a property mode, see Completing the General tab.

Field

Description

Type  
Java Class

Optional. For Java Object property modes only. Enter the full name of a Java class to limit the value of this property to a reference to an object of that class. Leave blank to allow the property to hold a reference to an object of any Java class.

Serialize this Object

For Java Object property modes only. Select to indicate that the Java class that defines the Java object implements the Serializable interface, which means the object can be serialized and stored in the database.

Special

Select to make this property a special property — one that cannot be changed through direct user input. Clear this box to allow user input on an HTML form to provide a value for this property. (Java mode properties are not typically presented on user forms.)

Type

For Java Property modes only. Select the data type of the property. The choices are the same as for a Single Value or Value List property. See Completing the General tab — Value modes.

Maximum Length

Optional. For Java Property modes only. To restrict the value to a specific maximum number of characters in internal storage, enter the number here. If a user or activity attempts to assign a longer value to the property, the clipboard does contain the longer value, but also has an associated message.

Expected Length

Optional. For Java Property modes only. Enter the typical length in characters expected for the property being defined, as entered into a form. This does not affect the number of characters that can be stored internally in the property value.

Input Processing  
Output Processing  
Do not localize Not applicable to Java-mode properties.

For properties of mode Java Object, a clipboard page containing this property can be saved into the database if the following are true: the Java Class field specifies the name of a Java class, the Serialize checkbox is selected, and the Java class specified implements the Serializable interface.

NoteIf the Java class does not implement the Serializable interface, PRPC stores a null value for the property in the database.

Up About Properties