Class JBossWarArchive


  • public class JBossWarArchive
    extends Object
    Class that encapsulates access to a WAR.
    • 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 WAR
        org.jdom2.JDOMException - If the deployment descriptor of the WAR could not be parsed
    • Method Detail

      • getJBossWebXml

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