Class JBossXmlIo

  • All Implemented Interfaces:
    DescriptorIo

    public class JBossXmlIo
    extends AbstractDescriptorIo
    Provides convenience methods for reading JBoss ejb jar deployment descriptor.
    • Constructor Detail

      • JBossXmlIo

        protected JBossXmlIo()
        Protected Constructor.
    • Method Detail

      • parseJBossXml

        public static JBossXml parseJBossXml​(InputStream input)
                                      throws IOException,
                                             org.jdom2.JDOMException
        Parses a deployment descriptor provided as input stream.
        Parameters:
        input - The input stream
        Returns:
        The parsed descriptor
        Throws:
        IOException - If an I/O error occurs
        org.jdom2.JDOMException - If an XML Parsing problem