org.objectweb.dolphin.resources.deploy.model
Class DDBeanRootImpl

java.lang.Object
  extended byorg.objectweb.dolphin.resources.deploy.model.AbstractDDBean
      extended byorg.objectweb.dolphin.resources.deploy.model.DDBeanRootImpl
All Implemented Interfaces:
javax.enterprise.deploy.model.DDBean, javax.enterprise.deploy.model.DDBeanRoot

public class DDBeanRootImpl
extends AbstractDDBean
implements javax.enterprise.deploy.model.DDBeanRoot

Used to handle the topmost part of a deployment descriptor at deployment.

Author:
markus

Constructor Summary
DDBeanRootImpl(org.w3c.dom.Document deploymentDescriptor, javax.enterprise.deploy.model.DeployableObject deployableObject)
          Wraps a deployment descriptor.
 
Method Summary
 java.lang.String[] getAttributeNames()
           
 java.lang.String getAttributeValue(java.lang.String arg0)
           
 java.lang.String getDDBeanRootVersion()
           
 javax.enterprise.deploy.model.DeployableObject getDeployableObject()
           
 java.lang.String getFilename()
           
 java.lang.String getModuleDTDVersion()
           
 javax.enterprise.deploy.shared.ModuleType getType()
           
 
Methods inherited from class org.objectweb.dolphin.resources.deploy.model.AbstractDDBean
addXpathListener, getChildBean, getDomNode, getId, getRoot, getText, getText, getXpath, removeXpathListener, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface javax.enterprise.deploy.model.DDBeanRoot
getXpath
 
Methods inherited from interface javax.enterprise.deploy.model.DDBean
addXpathListener, getChildBean, getId, getRoot, getText, getText, removeXpathListener
 

Constructor Detail

DDBeanRootImpl

public DDBeanRootImpl(org.w3c.dom.Document deploymentDescriptor,
                      javax.enterprise.deploy.model.DeployableObject deployableObject)
Wraps a deployment descriptor.

Parameters:
deploymentDescriptor - The deployment descriptor that gets wrapped by this instance.
Method Detail

getDeployableObject

public javax.enterprise.deploy.model.DeployableObject getDeployableObject()
Specified by:
getDeployableObject in interface javax.enterprise.deploy.model.DDBeanRoot
See Also:
DDBeanRoot.getDeployableObject()

getModuleDTDVersion

public java.lang.String getModuleDTDVersion()
Specified by:
getModuleDTDVersion in interface javax.enterprise.deploy.model.DDBeanRoot
See Also:
DDBeanRoot.getModuleDTDVersion()

getType

public javax.enterprise.deploy.shared.ModuleType getType()
Specified by:
getType in interface javax.enterprise.deploy.model.DDBeanRoot
See Also:
DDBeanRoot.getType()

getDDBeanRootVersion

public java.lang.String getDDBeanRootVersion()
Specified by:
getDDBeanRootVersion in interface javax.enterprise.deploy.model.DDBeanRoot

getFilename

public java.lang.String getFilename()
Specified by:
getFilename in interface javax.enterprise.deploy.model.DDBeanRoot

getAttributeNames

public java.lang.String[] getAttributeNames()
Specified by:
getAttributeNames in interface javax.enterprise.deploy.model.DDBean
Overrides:
getAttributeNames in class AbstractDDBean

getAttributeValue

public java.lang.String getAttributeValue(java.lang.String arg0)
Specified by:
getAttributeValue in interface javax.enterprise.deploy.model.DDBean
Overrides:
getAttributeValue in class AbstractDDBean