Method Summary |
|
public int | getCacheSize() Get the size of the cache (number of entries in the cache). |
public WebContainerDeploymentDesc | 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 WebContainerDeploymentDesc | getDeploymentDesc(String filename, ClassLoader loader) Get the specified web deployment descriptor.
Parameters: filename - the filename where to load xml deployment descriptors. Parameters: loader - classloader used to load web classes. |
public static WebDeploymentDescManager | getInstance() Get an instance of the WebDeploymentDescManager. |
public static WebContainerDeploymentDesc | getInstance(String warFileName, ClassLoader classLoaderForCls, String altWebXmlFilename) Get an instance of a WEB deployment descriptor by parsing the web.xml and
jonas-web.xml deployment descriptors.
Parameters: warFileName - the fileName of the war file for the deploymentdescriptors. Parameters: classLoaderForCls - the classloader for the classes. Parameters: altWebXmlFilename - the fileName to the web.xml for the alt-dd tagin the Ear Case. |
public static WebContainerDeploymentDesc | getInstance(String warFileName, ClassLoader classLoaderForCls) Get an instance of a WEB deployment descriptor by parsing the web.xml and
jonas-web.xml deployment descriptors.
Parameters: warFileName - 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 JonasWebApp | loadJonasWebApp(Reader reader, String fileName) Load the jonas-web.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (jonas-web.xml). |
public static WebApp | loadWebApp(Reader reader, String fileName) Load the web.xml file.
Parameters: reader - the reader of the XML file. Parameters: fileName - the name of the file (web.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. |