org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager Class Reference

List of all members.

Static Public Member Functions

EarDeploymentDesc getDeploymentDesc (String earFileName, ClassLoader classLoaderForCls) throws EarDeploymentDescException
Application loadApplication (Reader reader, String fileName) throws EarDeploymentDescException
JonasApplication loadJonasApplication (Reader reader, String fileName) throws EarDeploymentDescException
boolean getParsingWithValidation ()
void setParsingWithValidation (boolean validation)

Static Public Attributes

final String APPLICATION_FILE_NAME = "META-INF/application.xml"
final String JONAS_APPLICATION_FILE_NAME = "META-INF/jonas-application.xml"

Detailed Description

This class extends the AbsDeploymentDescriptor class of JOnAS It provides a description of the specific EAR desployment descriptor
Author:
Florent Benoit

Ludovic Bert

Helene Joanin

Definition at line 61 of file EarDeploymentDescManager.java.


Member Function Documentation

EarDeploymentDesc org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getDeploymentDesc String  earFileName,
ClassLoader  classLoaderForCls
throws EarDeploymentDescException [static]
 

Get an instance of an EAR deployment descriptor by parsing the application.xml deployment descriptor.

Parameters:
earFileName the fileName of the war file for the deployment descriptors.
classLoaderForCls the classloader for the classes.
Returns:
an EAR deployment descriptor by parsing the application.xml deployment descriptor.
Exceptions:
EarDeploymentDescException if the deployment descriptor is corrupted.

Definition at line 121 of file EarDeploymentDescManager.java.

References org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.APPLICATION_FILE_NAME, org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.JONAS_APPLICATION_FILE_NAME, org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.loadApplication(), org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.loadJonasApplication(), org.objectweb.jonas_ear.deployment.api.EarDeploymentDesc.setJonasXmlContent(), and org.objectweb.jonas_ear.deployment.api.EarDeploymentDesc.setXmlContent().

Here is the call graph for this function:

boolean org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getParsingWithValidation  )  [static]
 

Controls whether the parser is reporting all validity errors.

Returns:
if true, all external entities will be read.

Definition at line 314 of file EarDeploymentDescManager.java.

Referenced by org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.loadApplication(), and org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.loadJonasApplication().

Application org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.loadApplication Reader  reader,
String  fileName
throws EarDeploymentDescException [static]
 

Load the application.xml file.

Parameters:
reader the Reader of the XML file.
fileName the name of the file (application.xml).
Exceptions:
EarDeploymentDescException if the deployment descriptor is corrupted.
Returns:
an application object.

Definition at line 251 of file EarDeploymentDescManager.java.

References org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getParsingWithValidation(), and org.objectweb.jonas_lib.deployment.digester.JDigester.parse().

Referenced by org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getDeploymentDesc().

Here is the call graph for this function:

JonasApplication org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.loadJonasApplication Reader  reader,
String  fileName
throws EarDeploymentDescException [static]
 

Load the jonas-application.xml file.

Parameters:
reader the stream of the XML file.
fileName the name of the file (jonas-application.xml).
Returns:
a structure containing the result of the jonas-application.xml parsing.
Exceptions:
EarDeploymentDescException if the deployment descriptor is corrupted.

Definition at line 285 of file EarDeploymentDescManager.java.

References org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getParsingWithValidation(), and org.objectweb.jonas_lib.deployment.digester.JDigester.parse().

Referenced by org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getDeploymentDesc().

Here is the call graph for this function:

void org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.setParsingWithValidation boolean  validation  )  [static]
 

Controls whether the parser is reporting all validity errors.

Parameters:
validation if true, all external entities will be read.

Definition at line 322 of file EarDeploymentDescManager.java.


Member Data Documentation

final String org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.APPLICATION_FILE_NAME = "META-INF/application.xml" [static]
 

Path of the application.xml deploymnet descriptor file

Definition at line 66 of file EarDeploymentDescManager.java.

Referenced by org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getDeploymentDesc().

final String org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.JONAS_APPLICATION_FILE_NAME = "META-INF/jonas-application.xml" [static]
 

Path of the jonas-application.xml deploymnet descriptor file

Definition at line 71 of file EarDeploymentDescManager.java.

Referenced by org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager.getDeploymentDesc().


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