|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.integration.ant.deployment.DefaultJarArchive
org.apache.cactus.integration.ant.deployment.DefaultEarArchive
Encapsulates access to an EAR.
Constructor Summary | |
DefaultEarArchive(java.io.File theFile)
Constructor. |
|
DefaultEarArchive(java.io.InputStream theInputStream)
Constructor. |
Method Summary | |
ApplicationXml |
getApplicationXml()
Returns the deployment descriptor of the web application. |
WarArchive |
getWebModule(java.lang.String theUri)
Returns the web-app archive stored in the EAR with the specified URI. |
Methods inherited from class org.apache.cactus.integration.ant.deployment.DefaultJarArchive |
containsClass, findResource, getResource, getResources |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cactus.integration.ant.deployment.JarArchive |
containsClass, findResource, getResource, getResources |
Constructor Detail |
public DefaultEarArchive(java.io.File theFile) throws java.io.IOException
theFile
- The enterprise application archive
java.io.IOException
- If there was a problem reading the EARpublic DefaultEarArchive(java.io.InputStream theInputStream) throws java.io.IOException
theInputStream
- The input stream for the enterprise application
archive
java.io.IOException
- If there was a problem reading the EARMethod Detail |
public final ApplicationXml getApplicationXml() throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
EarArchive
getApplicationXml
in interface EarArchive
org.xml.sax.SAXException
- If the deployment descriptor of the EAR could not
be parsed
java.io.IOException
- If there was a problem reading the deployment
descriptor in the EAR
javax.xml.parsers.ParserConfigurationException
- If there is an XML parser
configration problemEarArchive.getApplicationXml()
public final WarArchive getWebModule(java.lang.String theUri) throws java.io.IOException
EarArchive
getWebModule
in interface EarArchive
theUri
- 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 WAREarArchive.getWebModule(String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |