|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas_ws.wsgen.archive.J2EEArchive
org.objectweb.jonas_ws.wsgen.archive.WebApp
a WebApp is a wrapper class around a Web Archive.
Field Summary | |
protected Application |
app
Application containing the webapp |
Fields inherited from class org.objectweb.jonas_ws.wsgen.archive.J2EEArchive |
archive, i18n, logger |
Constructor Summary | |
WebApp(Archive archive)
Create an alone WebApp (not in an ear). |
|
WebApp(Archive archive,
Application app)
Create an embded WebApp. |
Method Summary | |
void |
addClasses(java.io.File classes)
Add Archive classes. |
Application |
getApplication()
Returns the container application (can be null). |
java.util.Map |
getDescriptors()
Returns a Map of name to Document for each modified Descriptor of the archive. |
org.w3c.dom.Document |
getJonasWebAppDoc()
Returns the Document of the jonas-web.xml file. |
java.util.List |
getServiceDescs()
Returns the list of webservice-description elements contained by a module. |
java.util.List |
getServiceRefDescs()
Returns the list of service-ref elements contained by a module. |
org.w3c.dom.Document |
getWebAppDoc()
Returns the Document of the web.xml file. |
boolean |
omit(java.lang.String name)
Returns true if filename must be omitted in the archive. |
void |
setApplication(Application app)
Set the container application. |
Methods inherited from class org.objectweb.jonas_ws.wsgen.archive.J2EEArchive |
addDirectory, addDirectoryIn, addFile, addFile, addFileIn, getContainedFiles, getInputStream, getManifest, getName, getRootFile, isPacked |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Application app
Constructor Detail |
public WebApp(Archive archive) throws WsGenException
archive
- file archive
WsGenException
- When Init failspublic WebApp(Archive archive, Application app) throws WsGenException
archive
- Web Archiveapp
- container application
WsGenException
- When init failsMethod Detail |
public void setApplication(Application app)
app
- the container application.public Application getApplication()
public java.util.List getServiceRefDescs()
getServiceRefDescs
in interface WsClient
public java.util.List getServiceDescs()
getServiceDescs
in interface WsEndpoint
public void addClasses(java.io.File classes)
classes
- root directory containing classes.public org.w3c.dom.Document getWebAppDoc()
public org.w3c.dom.Document getJonasWebAppDoc()
public java.util.Map getDescriptors()
getDescriptors
in class J2EEArchive
public boolean omit(java.lang.String name)
omit
in class J2EEArchive
name
- filename to be tested
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |