org.codehaus.cargo.module.webapp.tomcat
Class TomcatWarArchive
java.lang.Object
org.codehaus.cargo.module.webapp.tomcat.TomcatWarArchive
public class TomcatWarArchive
- extends Object
Class that encapsulates access to a WAR.
- Version:
- $Id: TomcatWarArchive.java 1705 2008-09-02 13:14:55Z adriana $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TomcatWarArchive
public TomcatWarArchive(String warFile)
throws IOException,
org.jdom.JDOMException
- Constructor.
- Parameters:
warFile
- The web application archive
- Throws:
IOException
- If there was a problem reading the deployment
descriptor in the WAR
org.jdom.JDOMException
- If the deployment descriptor of the WAR could not
be parsed
getTomcatContextXml
public final TomcatContextXml getTomcatContextXml()
- Returns the
META-INF/context.xml
deployment descriptor of the web application.
- Returns:
- The parsed deployment descriptor, or
null
if no such file exists.
Copyright © 2004-2012 Codehaus. All Rights Reserved.