|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.deployment.common.lib.AbsDeploymentDescManager org.ow2.jonas.deployment.ear.lib.EarDeploymentDescManager
public final class EarDeploymentDescManager
This class extends the AbsDeploymentDescriptor class of JOnAS It provides a description of the specific EAR desployment descriptor.
Field Summary | |
---|---|
static String |
APPLICATION_FILE_NAME
Path of the application.xml deploymnet descriptor file. |
static String |
JONAS_APPLICATION_FILE_NAME
Path of the jonas-application.xml deploymnet descriptor file. |
Fields inherited from class org.ow2.jonas.deployment.common.lib.AbsDeploymentDescManager |
---|
LINK_SEPARATOR |
Method Summary | |
---|---|
static EarDeploymentDesc |
getDeploymentDesc(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable,
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(Reader reader,
String fileName)
Load the application.xml file. |
static JonasApplication |
loadJonasApplication(Reader reader,
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.ow2.jonas.deployment.common.lib.AbsDeploymentDescManager |
---|
containsResource, findJonasServiceRef, mergeWebServiceRef, xmlContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String APPLICATION_FILE_NAME
public static final String JONAS_APPLICATION_FILE_NAME
Method Detail |
---|
public static EarDeploymentDesc getDeploymentDesc(org.ow2.util.ee.deploy.api.deployable.EARDeployable earDeployable, ClassLoader classLoaderForCls) throws EarDeploymentDescException
earDeployable
- the deployable to analyze.classLoaderForCls
- the classloader for the classes.
EarDeploymentDescException
- if the deployment descriptor is
corrupted.public static Application loadApplication(Reader reader, 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(Reader reader, 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 |