Application prx

The Application.prx contains the properties used when running a Cúram application. The properties contained in this file are loaded to the database during the build database target and at runtime are cached from the database for use by the Application. An Application.prx can be loaded separately via the build insertproperties target.

The properties defined in Application.prx can be dynamic or static. Dynamic properties will have effect immediately if changed and published using the administration interface during runtime. Modifying static properties will have no effect until a restart of the server is performed.

Figure 1. PRX Entry
<property name="curam.trace" dynamic="true">
    <type>STRING</type>
    <value>trace_ultra_verbose</value>
    <default-value>trace_ultra_verbose</default-value>
    <category>CODETABLE</category>
    <locales>
      <locale language="en" country="US">
        <display-name>Trace Property</display-name>
        <description>Details of the Trace Property</description>
      </locale>
    </locales>
  </property>

The file is organized as follows:

Property Element
There is a property element for each property used.
Name Attribute
Attribute specifying the name of the property.
Dynamic Attribute
Indicator as to whether a change to the property value will require an Application restart.
Type Element
Refers to a code entry on the codetable DomainType.
Value Element
The property value.
Default-Value Element
The default value of a property used when properties are reset.
Category Element
Refers to a code entry on the codetable EnvPropertyCategory.
Locales Element
Contains one or more locale specific elements for the display name and description.
Language Attribute
Language Code for this locale specific entry.
Country Attribute
(Optional) Country Code for this locale specific entry.
Display Name Element
Locale specific display name for the property.
Description Element
Locale specific entry for the property.