org.objectweb.jonas_lib.genbase.archive.EjbJar Class Reference

Inherits org.objectweb.jonas_lib.genbase.archive.J2EEArchive, and org.objectweb.jonas_lib.genbase.archive.WsEndpoint.

Inheritance diagram for org.objectweb.jonas_lib.genbase.archive.EjbJar:

Inheritance graph
[legend]
Collaboration diagram for org.objectweb.jonas_lib.genbase.archive.EjbJar:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 EjbJar (Archive archive) throws GenBaseException
 EjbJar (Archive archive, Application app) throws GenBaseException
void initialize () throws GenBaseException
List getEjbs ()
List getServiceDescs ()
void addClasses (File classes)
String getWarName ()
String getContextRoot ()
void setApplication (Application app)
Application getApplication ()
Map getDescriptors ()
boolean omit (String name)
Document getJonasEjbJarDoc ()
InputStream getJonasEjbJarInputStream () throws IOException

Detailed Description

EjbJar represents an EjbJar J2EE Archive.

Author:
Guillaume Sauthier

Definition at line 61 of file EjbJar.java.


Constructor & Destructor Documentation

org.objectweb.jonas_lib.genbase.archive.EjbJar.EjbJar Archive  archive  )  throws GenBaseException
 

Create a new EjbJar not contained in Application

Parameters:
archive the archive file
Exceptions:
GenBaseException When init fails

Definition at line 90 of file EjbJar.java.

References org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getLogger().

Here is the call graph for this function:

org.objectweb.jonas_lib.genbase.archive.EjbJar.EjbJar Archive  archive,
Application  app
throws GenBaseException
 

Create a new EjbJar contained in Application

Parameters:
archive the archive file
app container application
Exceptions:
GenBaseException When init fails

Definition at line 107 of file EjbJar.java.

References org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getLogger(), and org.objectweb.jonas_lib.genbase.archive.EjbJar.setApplication().

Here is the call graph for this function:


Member Function Documentation

void org.objectweb.jonas_lib.genbase.archive.EjbJar.addClasses File  classes  ) 
 

Add *.class from directory in the archive.

Parameters:
classes directory containing classes files.

Definition at line 229 of file EjbJar.java.

References org.objectweb.jonas_lib.genbase.archive.J2EEArchive.addDirectory().

Here is the call graph for this function:

Application org.objectweb.jonas_lib.genbase.archive.EjbJar.getApplication  ) 
 

Return the container application of this EjbJar

Returns:
the container application of this EjbJar

Definition at line 281 of file EjbJar.java.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify().

String org.objectweb.jonas_lib.genbase.archive.EjbJar.getContextRoot  ) 
 

Returns:
Returns the desired context-root (jonas-webservices/context-root)

Implements org.objectweb.jonas_lib.genbase.archive.WsEndpoint.

Definition at line 247 of file EjbJar.java.

References org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getLogger().

Referenced by org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify().

Here is the call graph for this function:

Map org.objectweb.jonas_lib.genbase.archive.EjbJar.getDescriptors  )  [virtual]
 

Returns a Map of name to Document for each modified Descriptor of the archive.

Returns:
a Map of name to Document

Implements org.objectweb.jonas_lib.genbase.archive.J2EEArchive.

Definition at line 291 of file EjbJar.java.

List org.objectweb.jonas_lib.genbase.archive.EjbJar.getEjbs  ) 
 

Returns the List of Ejb contained in this EjbJar.

Returns:
the List of Ejb contained in this EjbJar.

Definition at line 204 of file EjbJar.java.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify(), and org.objectweb.jonas_lib.genclientstub.modifier.EjbJarModifier.modify().

Document org.objectweb.jonas_lib.genbase.archive.EjbJar.getJonasEjbJarDoc  ) 
 

Returns the Document of the jonas-ejb-jar.xml file.

Returns:
the Document of the jonas-ejb-jar.xml file.

Definition at line 313 of file EjbJar.java.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify().

InputStream org.objectweb.jonas_lib.genbase.archive.EjbJar.getJonasEjbJarInputStream  )  throws IOException
 

Returns the InputStream of the jonas-ejb-jar.xml file.

Returns:
the InputStream of the jonas-ejb-jar.xml file.
Exceptions:
IOException When InputStream of jonas-ejb-jar.xml cannot be returned

Definition at line 325 of file EjbJar.java.

References org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getInputStream(), and org.objectweb.jonas_lib.genbase.archive.J2EEArchive.isPacked().

Here is the call graph for this function:

List org.objectweb.jonas_lib.genbase.archive.EjbJar.getServiceDescs  ) 
 

Returns the list of webservice-description elements contained by a module.

Returns:
the list of webservice-description elements contained by a module.

Implements org.objectweb.jonas_lib.genbase.archive.WsEndpoint.

Definition at line 215 of file EjbJar.java.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify().

String org.objectweb.jonas_lib.genbase.archive.EjbJar.getWarName  ) 
 

Returns:
Returns the desired war filename (jonas-webservices/war)

Definition at line 236 of file EjbJar.java.

Referenced by org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify().

void org.objectweb.jonas_lib.genbase.archive.EjbJar.initialize  )  throws GenBaseException [virtual]
 

Initialize the Archive.

Exceptions:
GenBaseException When initialization fails.

Implements org.objectweb.jonas_lib.genbase.archive.J2EEArchive.

Definition at line 130 of file EjbJar.java.

References org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getArchive(), org.objectweb.jonas_lib.genbase.archive.Application.getEJBClassLoader(), org.objectweb.jonas_ejb.deployment.api.BeanDesc.getEjbName(), org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getI18n(), org.objectweb.jonas_lib.I18n.getMessage(), org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getModuleClassloader(), org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getRootFile(), and org.objectweb.jonas_lib.genbase.archive.J2EEArchive.setModuleClassloader().

Referenced by org.objectweb.jonas_lib.genbase.archive.Application.initialize().

Here is the call graph for this function:

boolean org.objectweb.jonas_lib.genbase.archive.EjbJar.omit String  name  )  [virtual]
 

Returns true if filename must be omitted in the archive.

Parameters:
name filename to be tested
Returns:
true if filename must be omitted.

Implements org.objectweb.jonas_lib.genbase.archive.J2EEArchive.

Definition at line 303 of file EjbJar.java.

void org.objectweb.jonas_lib.genbase.archive.EjbJar.setApplication Application  app  ) 
 

Set the container application of this EjbJar

Parameters:
app container application

Definition at line 272 of file EjbJar.java.

Referenced by org.objectweb.jonas_lib.genbase.archive.EjbJar.EjbJar(), and org.objectweb.jonas_ws.wsgen.modifier.EjbJarModifier.modify().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:12:52 2005 for JOnAS by  doxygen 1.3.9.1