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

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

public class RarDeployable
extends AbstractDeployable

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
 
Constructor Summary
RarDeployable(java.util.jar.JarFile archive, java.lang.String deploymentDescriptorName)
           
 
Method Summary
 java.util.Enumeration entries()
           
 javax.enterprise.deploy.model.DDBean[] getChildBean(java.lang.String xpath)
           
 java.lang.Class getClassFromScope(java.lang.String className)
           
 javax.enterprise.deploy.model.DDBeanRoot getDDBeanRoot(java.lang.String filename)
           
 java.io.InputStream getEntry(java.lang.String name)
           
 java.lang.String getModuleDTDVersion()
           
 java.lang.String[] getText(java.lang.String xpath)
           
 javax.enterprise.deploy.shared.ModuleType getType()
           
 
Methods inherited from class org.objectweb.dolphin.resources.deploy.model.AbstractDeployable
copyInputStreamToFile, createFromFile, createFromUrl, getDDBeanRoot
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RarDeployable

public RarDeployable(java.util.jar.JarFile archive,
                     java.lang.String deploymentDescriptorName)
              throws java.io.IOException,
                     org.xml.sax.SAXException,
                     AbstractDeployable.UnknownModuleTypeException
Method Detail

getType

public javax.enterprise.deploy.shared.ModuleType getType()
Specified by:
getType in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
getType in class AbstractDeployable
See Also:
DeployableObject.getType()

getChildBean

public javax.enterprise.deploy.model.DDBean[] getChildBean(java.lang.String xpath)
Specified by:
getChildBean in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
getChildBean in class AbstractDeployable
See Also:
DeployableObject.getChildBean(java.lang.String)

getText

public java.lang.String[] getText(java.lang.String xpath)
Specified by:
getText in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
getText in class AbstractDeployable
See Also:
DeployableObject.getText(java.lang.String)

getClassFromScope

public java.lang.Class getClassFromScope(java.lang.String className)
Specified by:
getClassFromScope in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
getClassFromScope in class AbstractDeployable
See Also:
DeployableObject.getClassFromScope(java.lang.String)

getModuleDTDVersion

public java.lang.String getModuleDTDVersion()
Specified by:
getModuleDTDVersion in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
getModuleDTDVersion in class AbstractDeployable
See Also:
DeployableObject.getModuleDTDVersion()

getDDBeanRoot

public javax.enterprise.deploy.model.DDBeanRoot getDDBeanRoot(java.lang.String filename)
                                                       throws java.io.FileNotFoundException
Specified by:
getDDBeanRoot in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
getDDBeanRoot in class AbstractDeployable
Throws:
java.io.FileNotFoundException

entries

public java.util.Enumeration entries()
Specified by:
entries in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
entries in class AbstractDeployable

getEntry

public java.io.InputStream getEntry(java.lang.String name)
Specified by:
getEntry in interface javax.enterprise.deploy.model.DeployableObject
Overrides:
getEntry in class AbstractDeployable