|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager org.objectweb.jonas_ear.deployment.lib.EarDeploymentDescManager
public class EarDeploymentDescManager
This class extends the AbsDeploymentDescriptor class of JOnAS It provides a description of the specific EAR desployment descriptor
Field Summary | |
---|---|
static java.lang.String |
APPLICATION_FILE_NAME
Path of the application.xml deploymnet descriptor file |
static java.lang.String |
JONAS_APPLICATION_FILE_NAME
Path of the jonas-application.xml deploymnet descriptor file |
Fields inherited from class org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager |
---|
LINK_SEPARATOR |
Method Summary | |
---|---|
static EarDeploymentDesc |
getDeploymentDesc(java.lang.String earFileName,
java.lang.ClassLoader classLoaderForCls)
Get an instance of an EAR deployment descriptor by parsing the application.xml deployment descriptor. |
static boolean |
getParsingWithValidation()
Controls whether the parser is reporting all validity errors. |
static Application |
loadApplication(java.io.Reader reader,
java.lang.String fileName)
Load the application.xml file. |
static JonasApplication |
loadJonasApplication(java.io.Reader reader,
java.lang.String fileName)
Load the jonas-application.xml file. |
static void |
setParsingWithValidation(boolean validation)
Controls whether the parser is reporting all validity errors. |
Methods inherited from class org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager |
---|
xmlContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String APPLICATION_FILE_NAME
public static final java.lang.String JONAS_APPLICATION_FILE_NAME
Method Detail |
---|
public static EarDeploymentDesc getDeploymentDesc(java.lang.String earFileName, java.lang.ClassLoader classLoaderForCls) throws EarDeploymentDescException
earFileName
- the fileName of the war file for the deployment
descriptors.classLoaderForCls
- the classloader for the classes.
EarDeploymentDescException
- if the deployment descriptor is
corrupted.public static Application loadApplication(java.io.Reader reader, java.lang.String fileName) throws EarDeploymentDescException
reader
- the Reader of the XML file.fileName
- the name of the file (application.xml).
EarDeploymentDescException
- if the deployment descriptor is
corrupted.public static JonasApplication loadJonasApplication(java.io.Reader reader, java.lang.String fileName) throws EarDeploymentDescException
reader
- the stream of the XML file.fileName
- the name of the file (jonas-application.xml).
EarDeploymentDescException
- if the deployment descriptor is
corrupted.public static boolean getParsingWithValidation()
public static void setParsingWithValidation(boolean validation)
validation
- if true, all external entities will be read.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |