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

java.lang.Object
  extended by org.codehaus.cargo.module.webapp.jboss.JBossWarArchive

public class JBossWarArchive
extends Object

Class that encapsulates access to a WAR.

Version:
$Id: JBossWarArchive.java 1705 2008-09-02 13:14:55Z adriana $

Constructor Summary
JBossWarArchive(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(File 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
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-2012 Codehaus. All Rights Reserved.