ControlTier Inc. > CTL
 
Font size:      

Overview

Overview

Commands execute in the context of property data that both comes from the framework and data you supply. This section of the manual provides reference information regarding the standard property files available in the framework.

The framework organizes property data into three areas:

  1. Framework: Sets framework properties describing base directories in the CTL file systems and administrative info, modules, depots, and entity.
  2. Module: The module.properties sets properties describing a particular module. While the commands.properties describes individual commands in that module.
  3. Entity: The entity.properties file sets properties describing various aspects of a managed entity.

Context Levels

Property files are read in a standard order. Properties set in files that are read in earlier can be used to define values in files that are read in later.

Framework property files are always read in first to define a basic data context for all commands. One can liken framework properties as global variables. By convention, just framework configuration should be maintained in these files. The command dispatcher knows where these files are and reads them in the following order:

  1. framework.properties.
  2. modules.properties
  3. depot.propertis (if command is executed for an object)
  4. entity.properties (if command is executed for an object)
Note
All of the framework property files are generated via the setup command during installation.

By convention, the command handler will read in the module.properties, commands.properties and entity.properties (when executing a command for an object) and and type.properties.