Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.ant.deployment » [javadoc | source]
org.apache.cactus.integration.ant.deployment
public class: EarParser [javadoc | source]
java.lang.Object
   org.apache.cactus.integration.ant.deployment.EarParser
Parse an EAR descriptor to extract meaninful information for Cactus, the results being stored in a EarDeployableFile object.
Method from org.apache.cactus.integration.ant.deployment.EarParser Summary:
getUriOfCactifiedWebModule,   parse,   parseTestContext
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.ant.deployment.EarParser Detail:
 protected static final String getUriOfCactifiedWebModule(EarArchive theEar) throws IOException, SAXException, ParserConfigurationException 
    Finds the web module in the EAR that contains the servlet test redirector, and returns the web-uri of the module found. A web-app is considered cactified when it contains at least a mapping for the Cactus servlet test redirector
 public static final EarDeployableFile parse(File theDeployableFile) 
    Parse an EAR descriptor to extract meaninful information for Cactus.
 protected static final String parseTestContext(EarArchive theEar,
    String theWebUri) throws IOException, SAXException, ParserConfigurationException 
    Find the test context from the EAR archive.