The PropertyConfig object is simply an object that reads the Properties contained in the deployment document and creates a Java Properties object with those properties in it. Then an appication can retrieve that Properties object and use it just like any other Java Properties object.
Configuration Parameters:
These are the configuration parameters specified by the PropertyConfig Element in the Deployment document. NOTE: Like all other OpenEAI configuration objects, there is a "container" level associated to PropertyConfig objects. Many Elements and attributes are required at that level and may be optionally overridden at this level. This is to avoid having to enter redundant information in the Deployment document if all (or most) PropertyConfig objects being configured should use the same configuration information. Therefore, many of the Property configuration parameters are optional at this level but required at the "container" level. Where this is the case, it will be indicated by an "*".
Name | Required | Description |
---|---|---|
name | yes | Name of the PropertyConfig object. This is how the object will be stored in AppConfig and should be unique. This allows developers to conveniently categorize properties for an application |
ConfigClass | no* | Name of the configuration class that wraps the config Element (this class) |
Property | yes (at least one) | This is a pair of Elements that tells the PropertyConfig object what Java Properties object to build. It consists of PropertyName and a PropertyValue Elements that are stored in the Java Properties object. Then a developer can retrieve that Properties object from this PropertyConfig object and obtain the actually property values by name. |
|
|