|
||||||||||
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.EjbJar
EjbJar represents an EjbJar J2EE Archive.
Field Summary |
Fields inherited from class org.objectweb.jonas_ws.wsgen.archive.J2EEArchive |
archive, i18n, logger |
Constructor Summary | |
EjbJar(Archive archive)
Create a new EjbJar not contained in Application |
|
EjbJar(Archive archive,
Application app)
Create a new EjbJar contained in Application |
Method Summary | |
void |
addClasses(java.io.File classes)
Add *.class from directory in the archive. |
Application |
getApplication()
Return the container application of this EjbJar |
java.util.Map |
getDescriptors()
Returns a Map of name to Document for each modified Descriptor of the archive. |
java.util.List |
getEjbs()
Returns the List of Ejb contained in this EjbJar. |
org.w3c.dom.Document |
getJonasEjbJarDoc()
Returns the Document of the jonas-ejb-jar.xml file. |
java.io.InputStream |
getJonasEjbJarInputStream()
Returns the InputStream of the jonas-ejb-jar.xml file. |
java.util.List |
getServiceDescs()
Returns the list of webservice-description elements contained by a module. |
boolean |
omit(java.lang.String name)
Returns true if filename must be omitted in the archive. |
void |
setApplication(Application app)
Set the container application of this EjbJar |
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 |
Constructor Detail |
public EjbJar(Archive archive) throws WsGenException
archive
- the archive file
WsGenException
- When init failspublic EjbJar(Archive archive, Application app) throws WsGenException
archive
- the archive fileapp
- container application
WsGenException
- When init failsMethod Detail |
public java.util.List getEjbs()
public java.util.List getServiceDescs()
getServiceDescs
in interface WsEndpoint
public void addClasses(java.io.File classes)
classes
- directory containing classes files.public void setApplication(Application app)
app
- container applicationpublic Application getApplication()
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
public org.w3c.dom.Document getJonasEjbJarDoc()
public java.io.InputStream getJonasEjbJarInputStream() throws java.io.IOException
java.io.IOException
- When InputStream of jonas-ejb-jar.xml cannot be returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |