Class JBossWarArchive
- java.lang.Object
-
- org.codehaus.cargo.module.webapp.jboss.JBossWarArchive
-
public class JBossWarArchive extends Object
Class that encapsulates access to a WAR.
-
-
Constructor Summary
Constructors Constructor Description JBossWarArchive(File warFile)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JBossWebXml
getJBossWebXml()
Returns thejboss-web.xml
deployment descriptor of the web application.
-
-
-
Constructor Detail
-
JBossWarArchive
public JBossWarArchive(File warFile) throws IOException, org.jdom2.JDOMException
Constructor.- Parameters:
warFile
- The web application archive- Throws:
IOException
- If there was a problem reading the deployment descriptor in the WARorg.jdom2.JDOMException
- If the deployment descriptor of the WAR could not be parsed
-
-
Method Detail
-
getJBossWebXml
public JBossWebXml getJBossWebXml()
Returns thejboss-web.xml
deployment descriptor of the web application.- Returns:
- The parsed deployment descriptor
-
-