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

java.lang.Object
  extended by org.apache.geronimo.deployment.tools.loader.AbstractDeployable
All Implemented Interfaces:
DeployableObject
Direct Known Subclasses:
ApplicationDeployable, ClientDeployable, ConnectorDeployable, WebDeployable

public abstract class AbstractDeployable
extends Object
implements DeployableObject


Constructor Summary
protected AbstractDeployable(ModuleType type, URL moduleURL, String rootDD)
           
 
Method Summary
 Enumeration entries()
           
 DDBean[] getChildBean(String xpath)
           
 Class getClassFromScope(String className)
           
 DDBeanRoot getDDBeanRoot()
           
 DDBeanRoot getDDBeanRoot(String filename)
           
 InputStream getEntry(String name)
           
 String getModuleDTDVersion()
           
protected  ClassLoader getModuleLoader()
           
 String[] getText(String xpath)
           
 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(ModuleType type,
                             URL moduleURL,
                             String rootDD)
                      throws DDBeanCreateException
Throws:
DDBeanCreateException
Method Detail

getType

public ModuleType getType()
Specified by:
getType in interface DeployableObject

getDDBeanRoot

public DDBeanRoot getDDBeanRoot()
Specified by:
getDDBeanRoot in interface DeployableObject

getDDBeanRoot

public DDBeanRoot getDDBeanRoot(String filename)
                         throws FileNotFoundException,
                                DDBeanCreateException
Specified by:
getDDBeanRoot in interface DeployableObject
Throws:
FileNotFoundException
DDBeanCreateException

getChildBean

public DDBean[] getChildBean(String xpath)
Specified by:
getChildBean in interface DeployableObject

getText

public String[] getText(String xpath)
Specified by:
getText in interface DeployableObject

entries

public Enumeration entries()
Specified by:
entries in interface DeployableObject

getEntry

public InputStream getEntry(String name)
Specified by:
getEntry in interface DeployableObject

getModuleLoader

protected ClassLoader getModuleLoader()

getClassFromScope

public Class getClassFromScope(String className)
Specified by:
getClassFromScope in interface DeployableObject

getModuleDTDVersion

public String getModuleDTDVersion()
Specified by:
getModuleDTDVersion in interface DeployableObject


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