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, findResource, getResource, getResourcesApplicationXml getApplicationXml() throws IOException, SAXException, ParserConfigurationException
IOException - If there was a problem reading the deployment descriptor in the EARSAXException - If the deployment descriptor of the EAR could not be parsedParserConfigurationException - If there is an XML parser
configration problemWarArchive 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.