Class OrionEjbJarXmlIo
- java.lang.Object
-
- org.codehaus.cargo.module.AbstractDescriptorIo
-
- org.codehaus.cargo.module.ejb.orion.OrionEjbJarXmlIo
-
- All Implemented Interfaces:
DescriptorIo
public class OrionEjbJarXmlIo extends AbstractDescriptorIo
Provides convenience methods for reading Oracle ejb jar deployment descriptor.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
OrionEjbJarXmlIo()
Protected constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OrionEjbJarXml
parseOracleEjbJarXml(InputStream input)
Parses a deployment descriptor provided as input stream.-
Methods inherited from class org.codehaus.cargo.module.AbstractDescriptorIo
createDocumentBuilder, createDocumentBuilder, getEntityResolver, parseXml, parseXml, writeAll, writeDescriptor, writeDescriptor, writeDescriptor, writeDescriptor
-
-
-
-
Method Detail
-
parseOracleEjbJarXml
public static OrionEjbJarXml parseOracleEjbJarXml(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 occursorg.jdom2.JDOMException
- If the input could not be parsed
-
-