|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface EarArchive
Class that encapsulates access to an EAR.
| Method Summary | |
|---|---|
ApplicationXml |
getApplicationXml()
Returns the deployment descriptor of the web application. |
EjbArchive |
getEjbModule(java.lang.String uri)
Returns the ejb archive stored in the EAR with the specified URI. |
WarArchive |
getWebModule(java.lang.String uri)
Returns the web-app archive stored in the EAR with the specified URI. |
| Methods inherited from interface org.codehaus.cargo.module.JarArchive |
|---|
containsClass, expandToPath, expandToPath, findResource, getResource, getResources |
| Method Detail |
|---|
ApplicationXml getApplicationXml()
throws java.io.IOException,
org.jdom.JDOMException
java.io.IOException - If there was a problem reading the deployment descriptor in the EAR
org.jdom.JDOMException - If there is an exception reading the application xml
WarArchive getWebModule(java.lang.String uri)
throws java.io.IOException
uri - The URI of the web module
null if no WAR was found at the specified URI
java.io.IOException - If there was an errors reading from the EAR or WAR
EjbArchive getEjbModule(java.lang.String uri)
throws java.io.IOException
uri - The URI of the ejb module
null if no WAR was found at the specified URI
java.io.IOException - If there was an errors reading from the EAR or EJB
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||