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

java.lang.Object
  extended by org.openmdx.kernel.application.deploy.enterprise.AbstractDeploymentDescriptor
      extended by 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


Field Summary
protected  String name
           
protected  Report report
           
 
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
ComponentDeploymentDescriptor(URL url)
           
 
Method Summary
 String getName()
          Get the component's name
 void parseOpenMdxXml(Element element)
           
 void parseXml(Element element)
           
abstract  void populate(Context componentContext)
          This method populates the contexts.
 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, parseOpenMdxXml, parseXml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

report

protected Report report
Constructor Detail

ComponentDeploymentDescriptor

public ComponentDeploymentDescriptor(URL url)
Method Detail

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:

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

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.