com.sourceforge.jpatterns.core.configuration
Interface PropertiesProvider.JPProperties

Enclosing class:
PropertiesProvider

public static interface PropertiesProvider.JPProperties

This interface stores the keys for necessary and important for the JPatterns properties.
Please extend this interface with the values you would add to the properties files (default one). In the case new properties would be added to the custom framework properties - create your own interface somewhere else.


Field Summary
static String USE_ONLY_CUSTOM_CONSUMER_XML
          this settings in the case its value is true defines that *custom* *consumer* configuration would override all the *default* *consumer* configuration (it won't be used at all) in the case this is false - when merging default and custom settings firstly default would be written to the result, and then all the settings from custom would override default one.
static String USE_ONLY_CUSTOM_FRAMEWORK_PROPERTIES
          If the custom properties would be found only its value would be used.
static String USE_ONLY_CUSTOM_FRAMEWORK_XML
          this settings in the case its value is true defines that *custom* *framework* configuration would override all the *default* *framework* configuration (it won't be used at all) in the case this is false - when merging default and custom settings firstly default would be written to the result, and then all the settings from custom would override default one.
static String XML_CONFIG_CUSTOM_OVERRIDES_NOT_DEPENDING_ON_PRIORITY
          XML_CONFIG_CUSTOM_OVERRIDES_NOT_DEPENDING_ON_PRIORITY
Default value is false
static String XML_CONFIG_OVERRIDING_DEPTH
          Defines the depth for the validating/overriding the JPatterns configuration.
 

Field Detail

USE_ONLY_CUSTOM_FRAMEWORK_PROPERTIES

static final String USE_ONLY_CUSTOM_FRAMEWORK_PROPERTIES
If the custom properties would be found only its value would be used. Please be noticed that this property is very important as defines the behaviour of all the configuration sub-system. The following rule takes power with it. This property is seached at the both default and custom properties, the custom has the priority. The further loading of the props is done using its value.
If both the properties files do not specify this property - we would use the custom ones if custom file presents and has these properties, otherwise the default values would be used.

See Also:
Constant Field Values

USE_ONLY_CUSTOM_FRAMEWORK_XML

static final String USE_ONLY_CUSTOM_FRAMEWORK_XML
this settings in the case its value is true defines that *custom* *framework* configuration would override all the *default* *framework* configuration (it won't be used at all) in the case this is false - when merging default and custom settings firstly default would be written to the result, and then all the settings from custom would override default one.

See Also:
Constant Field Values

USE_ONLY_CUSTOM_CONSUMER_XML

static final String USE_ONLY_CUSTOM_CONSUMER_XML
this settings in the case its value is true defines that *custom* *consumer* configuration would override all the *default* *consumer* configuration (it won't be used at all) in the case this is false - when merging default and custom settings firstly default would be written to the result, and then all the settings from custom would override default one. a. default consumer settings - appropriate xml files were found at the classpath and all the dirs of the classpath b. custom consumer configuration was provided by the properties framework configuration (it also could be provided as JVM parameter, in this case JVM value would have the sense of custom consumer config).

See Also:
Constant Field Values

XML_CONFIG_OVERRIDING_DEPTH

static final String XML_CONFIG_OVERRIDING_DEPTH
Defines the depth for the validating/overriding the JPatterns configuration.
the default value is com.sourceforge.jpatterns.core.configuration.PropertiesProvider.OverridingDepths.OVERRIDING_LEVEL_SECTION

See Also:
Constant Field Values

XML_CONFIG_CUSTOM_OVERRIDES_NOT_DEPENDING_ON_PRIORITY

static final String XML_CONFIG_CUSTOM_OVERRIDES_NOT_DEPENDING_ON_PRIORITY
XML_CONFIG_CUSTOM_OVERRIDES_NOT_DEPENDING_ON_PRIORITY
Default value is false

See Also:
Constant Field Values


Copyright © 2007 jzmicer.team. All Rights Reserved.