| ASF |
#16802 |
Sun Apr 06 11:23:22 UTC 2003 |
donaldp |
Rework the way that configuration and configuration validation is
handled internally to Phoenix.
Now configuration is all associated with the ComponentProfile. So no
longer does any of the code rely on the ConfigurationRepository managing
configuration. The ConfigurationRepository now acts more like a config
interceptor that gets a chance to manipulate or rewrite configuration
(thus supporting the existing use cases and also opening up future use
cases such as jelly-ification of applications config files).
ConfigurationValidator no longer stores or manages schemas it simply
loads the schemas just prior to validation. The validator also does not
try to do delegation but assumes that the jarv interface along with
msv and jing is sufficient for all validation purposes.
DefaultConfigurationValidator is now enabled by default so all components
that declare schema type are now passed through validator. This means that
malformed configurations that were previous accepted may no longer be
accepted.
PR: PNIX-21
|