org.codehaus.cargo.module.ejb
Class DefaultEjbArchive
java.lang.Object
org.codehaus.cargo.module.DefaultJarArchive
org.codehaus.cargo.module.ejb.DefaultEjbArchive
- All Implemented Interfaces:
- EjbArchive, JarArchive
public class DefaultEjbArchive
- extends DefaultJarArchive
- implements EjbArchive
Class that encapsulates access to an EJB JAR.
- Version:
- $Id: DefaultEjbArchive.java 1705 2008-09-02 13:14:55Z adriana $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultEjbArchive
public DefaultEjbArchive(String file)
-
- See Also:
DefaultJarArchive.DefaultJarArchive(String)
DefaultEjbArchive
public DefaultEjbArchive(InputStream theInputStream)
throws IOException
- Constructor.
- Parameters:
theInputStream
- The input stream for the enterprise application archive
- Throws:
IOException
- If there was a problem reading the EJB
getEjbJarXml
public final EjbJarXml getEjbJarXml()
throws IOException,
org.jdom.JDOMException
- Return the ejb-jar.xml.
- Specified by:
getEjbJarXml
in interface EjbArchive
- Returns:
- the EjbJarXml
- Throws:
org.jdom.JDOMException
IOException
- If there was a problem reading the deployment descriptor in the EAR- See Also:
EjbArchive.getEjbJarXml()
Copyright © 2004-2012 Codehaus. All Rights Reserved.