Dynamic configuration files
AssigneeInternational Business Machines Corporation
InventorJames I. Bognar
Life of this patent
Estimating the term…
Abstract
A dynamic nature is added to configuration files so that various types of dynamic functions can be performed within them. Variables are utilized within the configuration files. Thus, it is possible to have parameters specified in one configuration file and a formula to which the parameters will be applied in another configuration file. This allows changing of the values in the parameter file without having to modify the formula file, thereby streamlining the modification process when changes need to be made. In addition, it provides the capability for cross-referencing between configuration properties by allowing for variables in properties that refer to other properties.
Claims7
A method of returning dynamic results from the processing of a configuration file by a processor, said processor including a memory, comprising:
- loading into memory a configuration file comprising configuration properties having one or more variables;
- resolving the variables of the configuration properties;
- and
- replacing each variable with the results of its respective resolving step;
- wherein said resolving step includes, for each configuration property:
- detecting each variable in said configuration property;
- resolving any recursive variables in said configuration property before resolving a primary variable in said configuration property;
- resolving said primary variable;
- and
- wherein said resolving step is executed when an external program attempts to access any configuration properties containing variables.
Dependencies are inferred from the claim text.