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

Inherits org.objectweb.jonas_lib.genbase.archive.J2EEArchive, org.objectweb.jonas_lib.genbase.archive.EjbRefModule, and org.objectweb.jonas_lib.genbase.archive.WsClient.

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Client (Archive archive) throws GenBaseException
 Client (Archive archive, Application app) throws GenBaseException
void setApplication (Application app)
Application getApplication ()
List getServiceRefDescs ()
void addClasses (File classes)
Map getDescriptors ()
boolean omit (String name)
Document getJonasClientDoc ()
InputStream getJonasClientInputStream () throws IOException
void initialize () throws GenBaseException
List getEjbRefDescs ()

Detailed Description

Client represnets a J2EE Client Archive.

Author:
Guillaume Sauthier

Definition at line 59 of file Client.java.


Constructor & Destructor Documentation

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

Create a new Client not contained in Application

Parameters:
archive the archive file
Exceptions:
GenBaseException When Init fails.

Definition at line 90 of file Client.java.

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

Here is the call graph for this function:

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

Create a new Client contained in Application

Parameters:
archive the archive file
app the container Application
Exceptions:
GenBaseException When Init fails

Definition at line 104 of file Client.java.

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

Here is the call graph for this function:


Member Function Documentation

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

add *.class from directory in the archive.

Parameters:
classes directory with classes.

Definition at line 179 of file Client.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.Client.getApplication  ) 
 

Returns the container application (can be null).

Returns:
the container application (can be null).

Definition at line 161 of file Client.java.

Map org.objectweb.jonas_lib.genbase.archive.Client.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 189 of file Client.java.

List org.objectweb.jonas_lib.genbase.archive.Client.getEjbRefDescs  ) 
 

Returns the list of ejb-ref elements contained by a module.

Returns:
the list of ejb-ref elements contained by a module.

Implements org.objectweb.jonas_lib.genbase.archive.EjbRefModule.

Definition at line 282 of file Client.java.

Referenced by org.objectweb.jonas_lib.genclientstub.modifier.ClientModifier.modify().

Document org.objectweb.jonas_lib.genbase.archive.Client.getJonasClientDoc  ) 
 

Returns the Document of the jonas-client.xml file.

Returns:
the Document of the jonas-client.xml file.

Definition at line 209 of file Client.java.

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

InputStream org.objectweb.jonas_lib.genbase.archive.Client.getJonasClientInputStream  )  throws IOException
 

Returns the InputStream of the jonas-client.xml file.

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

Definition at line 221 of file Client.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.Client.getServiceRefDescs  ) 
 

Returns the list of service-ref elements contained by a module.

Returns:
the list of service-ref elements contained by a module.

Implements org.objectweb.jonas_lib.genbase.archive.WsClient.

Definition at line 170 of file Client.java.

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

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

Initialize the Archive.

Exceptions:
GenBaseException When initialization fails.

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

Definition at line 237 of file Client.java.

References org.objectweb.jonas_lib.genbase.archive.J2EEArchive.getArchive(), org.objectweb.jonas_lib.genbase.archive.Application.getEJBClassLoader(), 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.Client.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 200 of file Client.java.

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

Set the container application.

Parameters:
app the container application.

Definition at line 152 of file Client.java.

Referenced by org.objectweb.jonas_lib.genbase.archive.Client.Client().


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