public interface EarArchive extends JarArchive
Modifier and Type | Method and Description |
---|---|
ApplicationXml |
getApplicationXml()
Returns the deployment descriptor of the web application.
|
EjbArchive |
getEjbModule(String uri)
Returns the ejb archive stored in the EAR with the specified URI.
|
WarArchive |
getWebModule(String uri)
Returns the web-app archive stored in the EAR with the specified URI.
|
containsClass, expandToPath, expandToPath, findResource, getResource, getResources
ApplicationXml getApplicationXml() throws IOException, org.jdom.JDOMException
IOException
- If there was a problem reading the deployment descriptor in the EARorg.jdom.JDOMException
- If there is an exception reading the application xmlWarArchive getWebModule(String uri) throws IOException
uri
- The URI of the web modulenull
if no WAR was found at the specified URIIOException
- If there was an errors reading from the EAR or WAREjbArchive getEjbModule(String uri) throws IOException
uri
- The URI of the ejb modulenull
if no WAR was found at the specified URIIOException
- If there was an errors reading from the EAR or EJBCopyright © 2004-2013 Codehaus. All Rights Reserved.