Home » geronimo-2.2-source-release » org.apache.geronimo.deployment.util » [javadoc | source]
org.apache.geronimo.deployment.util
public class: DeploymentHelper [javadoc | source]
java.lang.Object
   org.apache.geronimo.deployment.util.DeploymentHelper
Helper class that handles locating DDs in directories (mainly WEB-INF, META-INF), building class space and dealing with deployments
Field Summary
protected final  URL url     
protected final  URLType urlType     
protected  URL j2eeURL     
protected  URL geronimoURL     
Constructor:
 public DeploymentHelper(URLInfo urlInfo,
    String j2eeDDName,
    String geronimoDDName) throws DeploymentException 
    Create an helper related to the specified deployment URL with META-INF as the directory with the given files
 public DeploymentHelper(URLInfo urlInfo,
    String j2eeDDName,
    String geronimoDDName,
    String infDir) throws DeploymentException 
    Creates an helper related to the specified deployment URL.
    Parameters:
    urlInfo - Deployment URLInfo.
    j2eeDDName - name of the J2EE deployment descriptor file
    geronimoDDName - name of the Geronimo deployment descriptor file
    infDir - the directory where deployment descriptors are to be looked up
    Throws:
    DeploymentException - when the deployment doesn't exist
Method from org.apache.geronimo.deployment.util.DeploymentHelper Summary:
getGeronimoDoc,   getJ2EEDoc,   locateGeronimoDD,   locateJ2EEDD
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.geronimo.deployment.util.DeploymentHelper Detail:
 public Document getGeronimoDoc(DocumentBuilder parser) 
 public Document getJ2EEDoc(DocumentBuilder parser) 
 public URL locateGeronimoDD() 
    Locates Geronimo's deployment descriptor
 public URL locateJ2EEDD() 
    Locates J2EE deployment descriptor.