org.openmdx.kernel.application.deploy.lightweight
Class AbstractConfigurationDecorator
java.lang.Object
org.openmdx.kernel.application.deploy.lightweight.AbstractConfigurationDecorator
- All Implemented Interfaces:
- Configuration
- Direct Known Subclasses:
- BeanDecorator, ModuleDecorator
public abstract class AbstractConfigurationDecorator
- extends Object
- implements Configuration
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
delegate
protected final Configuration delegate
AbstractConfigurationDecorator
public AbstractConfigurationDecorator(Configuration delegate)
validate
public Report validate()
- Description copied from interface:
Configuration
- Validates the configuration.
A concrete configuration validates the configuration entries. Validation
goes beyond simple verification:
- Detects missing entries and adds its defaults
- Rejects unsupported entries
- Checks the version and possibly upgrades the configuration
to the most current version
To accomplish this the validator needs more information than is required
for just a simple verification.
- Specified by:
validate in interface Configuration
- Returns:
- A validation report
- See Also:
Configuration.verify()
verify
public Report verify()
- Description copied from interface:
Configuration
- Verifies the configuration. All configuration entries are verified with
the configuration entry descriptions. A verification requires that the
configuration entry descriptions have been set.
The verification process verifies that:
- each entry has an entry description
- multi-valued entries do not have value holes
- the value cardinality is valid
- the value types are valid
- each entry from entry description list is present
- Specified by:
verify in interface Configuration
- Returns:
- A validation report
isValidated
protected boolean isValidated()
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.