Method Summary |
|
public static EarDeploymentDesc | getDeploymentDesc(String earFileName, ClassLoader classLoaderForCls) 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 deploymentdescriptors. Parameters: classLoaderForCls - the classloader for the classes. |
public static boolean | getParsingWithValidation() Controls whether the parser is reporting all validity errors. |
public static Application | loadApplication(Reader reader, String fileName) Load the application.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (application.xml). throws: EarDeploymentDescException - if the deployment descriptor iscorrupted. |
public static JonasApplication | loadJonasApplication(Reader reader, String fileName) Load the jonas-application.xml file.
Parameters: reader - the stream of the XML file. Parameters: fileName - the name of the file (jonas-application.xml). |
public static void | setParsingWithValidation(boolean validation) Controls whether the parser is reporting all validity errors. |