| |
|
| java.lang.Object org.objectweb.jonas_lib.genbase.archive.J2EEArchive org.objectweb.jonas_lib.genbase.archive.EjbJar
EjbJar | public class EjbJar extends J2EEArchive implements WsEndpoint(Code) | | EjbJar represents an EjbJar J2EE Archive.
author: Guillaume Sauthier |
addClasses | public void addClasses(File classes)(Code) | | Add *.class from directory in the archive.
Parameters: classes - directory containing classes files. |
getApplication | public Application getApplication()(Code) | | Return the container application of this EjbJar
the container application of this EjbJar |
getContextRoot | public String getContextRoot()(Code) | | Returns the desired context-root (jonas-webservices/context-root) |
getDescriptors | public Map getDescriptors()(Code) | | Returns a Map of name to Document for each modified Descriptor of the
archive.
a Map of name to Document |
getEjbs | public List getEjbs()(Code) | | Returns the List of Ejb contained in this EjbJar.
the List of Ejb contained in this EjbJar. |
getJonasEjbJarDoc | public Document getJonasEjbJarDoc()(Code) | | Returns the Document of the jonas-ejb-jar.xml file.
the Document of the jonas-ejb-jar.xml file. |
getJonasEjbJarInputStream | public InputStream getJonasEjbJarInputStream() throws IOException(Code) | | Returns the InputStream of the jonas-ejb-jar.xml file.
the InputStream of the jonas-ejb-jar.xml file. throws: IOException - When InputStream of jonas-ejb-jar.xml cannot be returned |
getJonasWebservicesDoc | public Document getJonasWebservicesDoc()(Code) | | Return the Document of the the jonas-webservices.xml
the Document of the jonas-webservices.xml file |
getJonasWebservicesInputStream | public InputStream getJonasWebservicesInputStream() throws IOException(Code) | | Returns the InputStream of the jonas-webservices.xml file.
the InputStream of the jonas-webservices.xml file. throws: IOException - When InputStream of jonas-webservices.xml cannot be returned |
getServiceDescs | public List getServiceDescs()(Code) | | Returns the list of webservice-description elements contained by a
module.
the list of webservice-description elements contained by amodule. |
getWarName | public String getWarName()(Code) | | Returns the desired war filename (jonas-webservices/war) |
omit | public boolean omit(String name)(Code) | | Returns true if filename must be omitted in the archive.
Parameters: name - filename to be tested true if filename must be omitted. |
setApplication | public void setApplication(Application app)(Code) | | Set the container application of this EjbJar
Parameters: app - container application |
|
|
|