org.codehaus.cargo.module.webapp.jboss
Class JBossWarArchive

java.lang.Object
  extended byorg.codehaus.cargo.module.webapp.jboss.JBossWarArchive

public class JBossWarArchive
extends java.lang.Object

Class that encapsulates access to a WAR.

Version:
$Id: JBossWarArchive.java 1158 2006-07-29 10:55:48Z vmassol $

Constructor Summary
JBossWarArchive(java.io.File warFile)
          Constructor.
 
Method Summary
 JBossWebXml getJBossWebXml()
          Returns the jboss-web.xml deployment descriptor of the web application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossWarArchive

public JBossWarArchive(java.io.File warFile)
                throws java.io.IOException,
                       org.xml.sax.SAXException,
                       javax.xml.parsers.ParserConfigurationException
Constructor.

Parameters:
warFile - The web application archive
Throws:
java.io.IOException - If there was a problem reading the deployment descriptor in the WAR
org.xml.sax.SAXException - If the deployment descriptor of the WAR could not be parsed
javax.xml.parsers.ParserConfigurationException - If there is an XML parser configration problem
Method Detail

getJBossWebXml

public final JBossWebXml getJBossWebXml()
Returns the jboss-web.xml deployment descriptor of the web application.

Returns:
The parsed deployment descriptor


Copyright © 2004-2007 Codehaus. All Rights Reserved.