6.2

Table Of Contents
n
Binding to Other Properties
In several deployment scenarios, a component needs the property value of another component to
customize itself. In Application Services, this process is called binding to other properties.
n
Auto-Binding to Other Properties
You can auto-bind to other properties by using the Auto-Bind meta data setup in a service and
default meta data in nodes, node arrays, services, and the WAR application component.
n
Passing Property Values Between Life Cycle Stages and Components
Properties defined for each component can be used in an action script for each of the life cycle
stages.
Types of Properties
Application Services supports string, array, content, computed, boolean, single select, integer, and double
properties.
Note The names of properties are case-sensitive and can contain only alphabetic, numeric, hyphen (-),
or underscore (_) characters.
String Property
The string property value can be a string or the value bound to another string property. A string value can
contain any ASCII characters. For a bound property, use the Properties tab in the blueprint canvas to
select the appropriate property for binding. The property value is then passed to the action scripts as raw
string data.
Sample String Property Script Syntax Sample Usage
admin_email = "admin@email987.com" Bash - $admin_email
echo $admin_email
Windows CMD - %admin_email%
echo %admin_email%
Windows PowerShell - $admin_email
write-output $admin_email
BeanShell - admin_email
print(admin_email);
Array Property
The array property value can be an array of strings defined as [“value1”, “value2”, “value3”…] or the value
bound to another array property. When you define values for an array property you must enclose the
array of strings in square brackets. For an array of strings, the value in the array elements can contain
any ASCIl characters. To properly encode a backslash character in an Array property value, add an extra
backslash, for example, ["c:\\test1\\test2"]. For a bound property, use the Properties tab in the
blueprint canvas to select the appropriate property for binding.
Using Application Services
VMware, Inc. 104