org.apache.geronimo.deployment.tools.loader
Class AbstractDeployable

java.lang.Object
  extended byorg.apache.geronimo.deployment.tools.loader.AbstractDeployable
All Implemented Interfaces:
javax.enterprise.deploy.model.DeployableObject
Direct Known Subclasses:
ApplicationDeployable, ClientDeployable, ConnectorDeployable, WebDeployable

public abstract class AbstractDeployable
extends Object
implements javax.enterprise.deploy.model.DeployableObject

Version:
$Rev: 355877 $ $Date: 2005-12-11 03:48:27 +0100 (Sun, 11 Dec 2005) $

Constructor Summary
protected AbstractDeployable(javax.enterprise.deploy.shared.ModuleType type, URL moduleURL, String rootDD)
           
 
Method Summary
 Enumeration entries()
           
 javax.enterprise.deploy.model.DDBean[] getChildBean(String xpath)
           
 Class getClassFromScope(String className)
           
 javax.enterprise.deploy.model.DDBeanRoot getDDBeanRoot()
           
 javax.enterprise.deploy.model.DDBeanRoot getDDBeanRoot(String filename)
           
 InputStream getEntry(String name)
           
 String getModuleDTDVersion()
           
protected  ClassLoader getModuleLoader()
           
 String[] getText(String xpath)
           
 javax.enterprise.deploy.shared.ModuleType getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDeployable

protected AbstractDeployable(javax.enterprise.deploy.shared.ModuleType type,
                             URL moduleURL,
                             String rootDD)
                      throws javax.enterprise.deploy.model.exceptions.DDBeanCreateException
Method Detail

getType

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

getDDBeanRoot

public javax.enterprise.deploy.model.DDBeanRoot getDDBeanRoot()
Specified by:
getDDBeanRoot in interface javax.enterprise.deploy.model.DeployableObject

getDDBeanRoot

public javax.enterprise.deploy.model.DDBeanRoot getDDBeanRoot(String filename)
                                                       throws FileNotFoundException,
                                                              javax.enterprise.deploy.model.exceptions.DDBeanCreateException
Specified by:
getDDBeanRoot in interface javax.enterprise.deploy.model.DeployableObject
Throws:
FileNotFoundException
javax.enterprise.deploy.model.exceptions.DDBeanCreateException

getChildBean

public javax.enterprise.deploy.model.DDBean[] getChildBean(String xpath)
Specified by:
getChildBean in interface javax.enterprise.deploy.model.DeployableObject

getText

public String[] getText(String xpath)
Specified by:
getText in interface javax.enterprise.deploy.model.DeployableObject

entries

public Enumeration entries()
Specified by:
entries in interface javax.enterprise.deploy.model.DeployableObject

getEntry

public InputStream getEntry(String name)
Specified by:
getEntry in interface javax.enterprise.deploy.model.DeployableObject

getModuleLoader

protected ClassLoader getModuleLoader()

getClassFromScope

public Class getClassFromScope(String className)
Specified by:
getClassFromScope in interface javax.enterprise.deploy.model.DeployableObject

getModuleDTDVersion

public String getModuleDTDVersion()
Specified by:
getModuleDTDVersion in interface javax.enterprise.deploy.model.DeployableObject


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.