org.openmdx.kernel.application.deploy.enterprise
Class ApplicationDeploymentDescriptor

java.lang.Object
  extended by org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
      extended by org.openmdx.kernel.application.deploy.enterprise.ApplicationDeploymentDescriptor
All Implemented Interfaces:
Configuration, Deployment.Application

public class ApplicationDeploymentDescriptor
extends AbstractDeploymentDescriptor
implements Deployment.Application


Field Summary
 
Fields inherited from class org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
REPORT_APPLICATION_NAME, REPORT_APPLICATION_VERSION, REPORT_CONNECTOR_NAME, REPORT_CONNECTOR_VERSION, REPORT_EJB_CLIENT_NAME, REPORT_EJB_COMPONENT_NAME, REPORT_EJB_MODULE_NAME, REPORT_EJB_VERSION
 
Constructor Summary
ApplicationDeploymentDescriptor(URL url)
           
 
Method Summary
 void addModule(ModuleDeploymentDescriptor moduleDD)
           
 List getAllModuleURIs()
           
 List getApplicationClientModuleURIs()
           
 List getConnectorModuleURIs()
           
 String getDisplayName()
          Retrieve an application's display name
 List getEjbModuleURIs()
           
 List getModules()
          Retrieve an application's modules
 Set getModulesForEjb(String ejbName)
           
 void parseOpenMdxXml(Element element, Report report)
           
 void parseXml(Element element)
           
 void parseXml(Element element, Report report)
           
 Report validate()
          Validates the configuration.
 Report verify()
          Verifies the configuration.
 void verify(Report report)
           
 
Methods inherited from class org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
createUniqueLocalApplicationContextLink, createUniqueRemoteApplicationContextLink, getChildrenByTagName, getElementContent, getOptionalChild, getUniqueChild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationDeploymentDescriptor

public ApplicationDeploymentDescriptor(URL url)
Method Detail

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:

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: 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.