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

java.lang.Object
  extended byorg.objectweb.dolphin.resources.deploy.model.AbstractDeployable
      extended byorg.objectweb.dolphin.resources.deploy.model.EarDeployable
All Implemented Interfaces:
javax.enterprise.deploy.model.DeployableObject, javax.enterprise.deploy.model.J2eeApplicationObject

public class EarDeployable
extends AbstractDeployable
implements javax.enterprise.deploy.model.J2eeApplicationObject

Used to handle Enterprise Application Archives (*.ear files) at deployment.

Author:
Markus Karg

Nested Class Summary
 
Nested classes inherited from class org.objectweb.dolphin.resources.deploy.model.AbstractDeployable
AbstractDeployable.UnknownModuleTypeException
 
Method Summary
 void addXpathListener(javax.enterprise.deploy.shared.ModuleType type, java.lang.String xpath, javax.enterprise.deploy.model.XpathListener xpl)
           
 javax.enterprise.deploy.model.DDBean[] getChildBean(javax.enterprise.deploy.shared.ModuleType type, java.lang.String xpath)
           
 javax.enterprise.deploy.model.DeployableObject getDeployableObject(java.lang.String uri)
           
 javax.enterprise.deploy.model.DeployableObject[] getDeployableObjects()
           
 javax.enterprise.deploy.model.DeployableObject[] getDeployableObjects(javax.enterprise.deploy.shared.ModuleType type)
           
static java.lang.String getFileNameSuffix()
          Returns the file name suffix for EAR archives.
 java.lang.String[] getModuleUris()
           
 java.lang.String[] getModuleUris(javax.enterprise.deploy.shared.ModuleType type)
           
 java.lang.String[] getText(javax.enterprise.deploy.shared.ModuleType type, java.lang.String xpath)
           
 void removeXpathListener(javax.enterprise.deploy.shared.ModuleType type, java.lang.String xpath, javax.enterprise.deploy.model.XpathListener xpl)
           
 
Methods inherited from class org.objectweb.dolphin.resources.deploy.model.AbstractDeployable
copyInputStreamToFile, createFromFile, createFromUrl, entries, getChildBean, getClassFromScope, getDDBeanRoot, getDDBeanRoot, getEntry, getModuleDTDVersion, getText, getType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.enterprise.deploy.model.DeployableObject
entries, getChildBean, getClassFromScope, getDDBeanRoot, getDDBeanRoot, getEntry, getModuleDTDVersion, getText, getType
 

Method Detail

addXpathListener

public void addXpathListener(javax.enterprise.deploy.shared.ModuleType type,
                             java.lang.String xpath,
                             javax.enterprise.deploy.model.XpathListener xpl)
Specified by:
addXpathListener in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.addXpathListener(javax.enterprise.deploy.shared.ModuleType, java.lang.String, javax.enterprise.deploy.model.XpathListener)

getChildBean

public javax.enterprise.deploy.model.DDBean[] getChildBean(javax.enterprise.deploy.shared.ModuleType type,
                                                           java.lang.String xpath)
Specified by:
getChildBean in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.getChildBean(javax.enterprise.deploy.shared.ModuleType, java.lang.String)

getDeployableObject

public javax.enterprise.deploy.model.DeployableObject getDeployableObject(java.lang.String uri)
Specified by:
getDeployableObject in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.getDeployableObject(java.lang.String)

getDeployableObjects

public javax.enterprise.deploy.model.DeployableObject[] getDeployableObjects()
Specified by:
getDeployableObjects in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.getDeployableObjects()

getDeployableObjects

public javax.enterprise.deploy.model.DeployableObject[] getDeployableObjects(javax.enterprise.deploy.shared.ModuleType type)
Specified by:
getDeployableObjects in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.getDeployableObjects(javax.enterprise.deploy.shared.ModuleType)

getModuleUris

public java.lang.String[] getModuleUris()
Specified by:
getModuleUris in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.getModuleUris()

getModuleUris

public java.lang.String[] getModuleUris(javax.enterprise.deploy.shared.ModuleType type)
Specified by:
getModuleUris in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.getModuleUris(javax.enterprise.deploy.shared.ModuleType)

getText

public java.lang.String[] getText(javax.enterprise.deploy.shared.ModuleType type,
                                  java.lang.String xpath)
Specified by:
getText in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.getText(javax.enterprise.deploy.shared.ModuleType, java.lang.String)

removeXpathListener

public void removeXpathListener(javax.enterprise.deploy.shared.ModuleType type,
                                java.lang.String xpath,
                                javax.enterprise.deploy.model.XpathListener xpl)
Specified by:
removeXpathListener in interface javax.enterprise.deploy.model.J2eeApplicationObject
See Also:
J2eeApplicationObject.removeXpathListener(javax.enterprise.deploy.shared.ModuleType, java.lang.String, javax.enterprise.deploy.model.XpathListener)

getFileNameSuffix

public static java.lang.String getFileNameSuffix()
Returns the file name suffix for EAR archives.

Returns:
String ".ear"