Class EjbJarXmlIo

  • All Implemented Interfaces:
    DescriptorIo

    public class EjbJarXmlIo
    extends AbstractDescriptorIo
    Provides convenience methods for reading and writing ejb deployment descriptors (ejb-jar.xml).
    • Constructor Detail

      • EjbJarXmlIo

        protected EjbJarXmlIo()
        Protected constructor.
    • Method Detail

      • parseEjbJarXml

        public static EjbJarXml parseEjbJarXml​(InputStream input,
                                               EntityResolver entityResolver)
                                        throws IOException,
                                               org.jdom.JDOMException
        Parses a deployment descriptor provided as input stream.
        Parameters:
        input - The input stream
        entityResolver - A SAX entity resolver, or null to use the default
        Returns:
        The parsed descriptor
        Throws:
        IOException - If an I/O error occurs
        org.jdom.JDOMException - If the XML parser was not correctly configured