| |
|
| java.lang.Object org.apache.cactus.integration.ant.deployment.WarParser
WarParser | public class WarParser (Code) | | Parse an WAR descriptor to extract meaninful information for Cactus,
the results being stored in a
WarDeployableFile object.
since: Cactus 1.5 version: $Id: WarParser.java 239003 2004-05-31 20:05:27Z vmassol $ |
parse | final public static WarDeployableFile parse(File theDeployableFile)(Code) | | Parse an WAR descriptor to extract meaninful information for Cactus.
Parameters: theDeployableFile - the file to parse and deploy the parse results as a WarDeployableFile object |
parseFilterRedirectorMapping | static String parseFilterRedirectorMapping(WarArchive theWar) throws IOException, SAXException, ParserConfigurationException(Code) | | Find the first URL-pattern to which the Cactus filter redirector is
mapped in the deployment descriptor.
the filter redirector mapping if found or null if not found Parameters: theWar - the WAR descriptor that is parsed when looking fora Cactus filter redirector mapping throws: IOException - If there was a problem reading the deploymentdescriptor in the WAR throws: SAXException - If the deployment descriptor of the WAR could notbe parsed throws: ParserConfigurationException - If there is an XML parserconfigration problem |
parseJspRedirectorMapping | static String parseJspRedirectorMapping(WarArchive theWar) throws IOException, SAXException, ParserConfigurationException(Code) | | Find the first URL-pattern to which the Cactus JSP redirector is
mapped in the deployment descriptor.
the JSP redirector mapping if found or null if not found Parameters: theWar - the WAR descriptor that is parsed when looking fora Cactus JSP redirector mapping throws: IOException - If there was a problem reading the deploymentdescriptor in the WAR throws: SAXException - If the deployment descriptor of the WAR could notbe parsed throws: ParserConfigurationException - If there is an XML parserconfigration problem |
parseServletRedirectorMapping | static String parseServletRedirectorMapping(WarArchive theWar) throws SAXException, IOException, ParserConfigurationException(Code) | | Find the first URL-pattern to which the Cactus servlet redirector is
mapped in the deployment descriptor.
the servlet redirector mapping if found or null if not found Parameters: theWar - the WAR descriptor that is parsed when looking fora Cactus servlet redirector mapping throws: IOException - If there was a problem reading the deploymentdescriptor in the WAR throws: SAXException - If the deployment descriptor of the WAR could notbe parsed throws: ParserConfigurationException - If there is an XML parserconfigration problem |
parseWebContext | protected static String parseWebContext(File theDeployableFile)(Code) | | Parameters: theDeployableFile - the file to parse and deploy the test context that will be used to verify if the containeris started or not |
|
|
|