Method Summary |
|
public static RarDeploymentDesc | getInstance(String rarFileName, ClassLoader classLoader) Get an instance of an RAR deployment descriptor by parsing the ra.xml and
jonas-ra.xml deployment descriptors.
Parameters: rarFileName - the fileName of the rar file for the deploymentdescriptors. Parameters: classLoader - the classloader for the classes. |
public static RarDeploymentDesc | getInstance(Context ctx) Get an instance of an RAR deployment descriptor by parsing the ra.xml and
jonas-ra.xml deployment descriptors.
Parameters: ctx - the context which contains the configuration in order to loadthe deployment descriptors. |
public static boolean | getParsingWithValidation() Controls whether the parser is reporting all validity errors. |
public static Connector | loadConnector(Reader reader, String fileName) Load the ra.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (ra.xml). throws: DeploymentDescException - if the deployment descriptor iscorrupted. |
public static JonasConnector | loadJonasConnector(Reader reader, String fileName) Load the jonas-ra.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (jonas-ra.xml). throws: DeploymentDescException - if the deployment descriptor iscorrupted. |
public static void | setParsingWithValidation(boolean validation) Controls whether the parser is reporting all validity errors. |