org.openmdx.kernel.application.deploy.enterprise
Class ApplicationDeploymentDescriptor
java.lang.Object
org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
org.openmdx.kernel.application.deploy.enterprise.ApplicationDeploymentDescriptor
- All Implemented Interfaces:
- Configuration, Deployment.Application
public class ApplicationDeploymentDescriptor
- extends AbstractDeploymentDescriptor
- implements Deployment.Application
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationDeploymentDescriptor
public ApplicationDeploymentDescriptor(URL url)
parseXml
public void parseXml(Element element,
Report report)
- Specified by:
parseXml in class AbstractDeploymentDescriptor
parseXml
public void parseXml(Element element)
parseOpenMdxXml
public void parseOpenMdxXml(Element element,
Report report)
- Specified by:
parseOpenMdxXml in class AbstractDeploymentDescriptor
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
getDisplayName
public String getDisplayName()
- Description copied from interface:
Deployment.Application
- Retrieve an application's display name
- Specified by:
getDisplayName in interface Deployment.Application
- Returns:
- an application's display name
getEjbModuleURIs
public List getEjbModuleURIs()
getConnectorModuleURIs
public List getConnectorModuleURIs()
getApplicationClientModuleURIs
public List getApplicationClientModuleURIs()
getAllModuleURIs
public List getAllModuleURIs()
getModules
public List getModules()
- Description copied from interface:
Deployment.Application
- Retrieve an application's modules
The application deployment descriptor must have one
module element for each J2EE module in the
application package. A module element is defined
by moduleType definition.
The modules are returned in the order they are declared in the
application.xml.
- Specified by:
getModules in interface Deployment.Application
- Returns:
- all modules of this application
addModule
public void addModule(ModuleDeploymentDescriptor moduleDD)
getModulesForEjb
public Set getModulesForEjb(String ejbName)
This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.