org.openmdx.kernel.application.deploy.enterprise
Class ComponentDeploymentDescriptor
java.lang.Object
org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
org.openmdx.kernel.application.deploy.enterprise.ComponentDeploymentDescriptor
- All Implemented Interfaces:
- Configuration, Deployment.Component
- Direct Known Subclasses:
- BeanDeploymentDescriptor
public abstract class ComponentDeploymentDescriptor
- extends AbstractDeploymentDescriptor
- implements Deployment.Component
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected String name
report
protected Report report
ComponentDeploymentDescriptor
public ComponentDeploymentDescriptor(URL url)
parseXml
public void parseXml(Element element)
parseOpenMdxXml
public void parseOpenMdxXml(Element element)
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
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 void verify(Report report)
- Overrides:
verify in class AbstractDeploymentDescriptor
populate
public abstract void populate(Context componentContext)
throws NamingException
- Description copied from interface:
Deployment.Component
- This method populates the contexts.
- Specified by:
populate in interface Deployment.Component
- Throws:
NamingException
getName
public String getName()
- Description copied from interface:
Deployment.Component
- Get the component's name
- Specified by:
getName in interface Deployment.Component
- Returns:
- the component's name
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.