Method Summary |
|
public int | getCacheSize() Get the size of the cache (number of entries in the cache). |
public ClientContainerDeploymentDesc | getDeploymentDesc(URL url, ClassLoader loaderForCls, ClassLoader earLoader) Get the specified web deployment descriptor.
Parameters: url - the url where to load xml deployment descriptors. Parameters: loaderForCls - classloader used to load web classes. Parameters: earLoader - the ear classloader. |
public static ClientDeploymentDescManager | getInstance() Get an instance of the ClientDeploymentDescManager. |
public static ClientContainerDeploymentDesc | getInstance(String clientFileName, ClassLoader classLoaderForCls) Get an instance of a Client deployment descriptor by parsing the
application-client.xml and jonas-client.xml deployment descriptors.
Parameters: clientFileName - the fileName of the client file for the deploymentdescriptors. Parameters: classLoaderForCls - the classloader for the classes. |
public static ClientContainerDeploymentDesc | getInstance(String clientFileName, ClassLoader classLoaderForCls, String altClientXmlFilename) Get an instance of a Client deployment descriptor by parsing the
application-client.xml and jonas-client.xml deployment descriptors.
Parameters: clientFileName - the fileName of the client file for the deploymentdescriptors. Parameters: classLoaderForCls - the classloader for the classes. Parameters: altClientXmlFilename - the fileName to the application-client.xmlfor the alt-dd tag in the Ear Case. |
public static boolean | getParsingWithValidation() Controls whether the parser is reporting all validity errors. |
public static ApplicationClient | loadApplicationClient(Reader reader, String fileName) Load the application-client.xml file.
Parameters: reader - the reader of the XML file. Parameters: fileName - the name of the file (application-client.xml). |
public static JonasClient | loadJonasClient(Reader reader, String fileName) Load the jonas-client.xml file.
Parameters: reader - the stream of the XML file. Parameters: fileName - the name of the file (jonas-client.xml). |
public void | removeCache(ClassLoader earClassLoader) Make a cleanup of the cache of deployment descriptor. |
public void | setAltDD(ClassLoader earClassLoader, URL[] urls, URL[] altDDs) Set the alt deployment desc which are used instead of the web.xml file
which is in the war file. |
public static void | setParsingWithValidation(boolean validation) Controls whether the parser is reporting all validity errors. |