| |
|
| java.lang.Object org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager org.objectweb.jonas_domain.lib.DomainMapManager
DomainMapManager | public class DomainMapManager extends AbsDeploymentDescManager (Code) | | This class extends the AbsDeploymentDescriptor class of JOnAS It provides a
description of the domain map
author: Adriana Danes |
Method Summary | |
public static DomainMap | getDomainMap(String domainFileName, ClassLoader classLoaderForCls) Get an instance of a DomainMap by parsing the domain.xml configuration file.
Parameters: domainFileName - used when specific domain description file name has to be used Parameters: classLoaderForCls - the classloader for the classes. | public static boolean | getParsingWithValidation() Controls whether the parser is reporting all validity errors. | public static Domain | loadDomain(Reader reader, String fileName) Load the domain.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (domain.xml). throws: DomainMapException - if the file iscorrupted. | public static void | setParsingWithValidation(boolean validation) Controls whether the parser is reporting all validity errors. |
DOMAIN_FILE_NAME | final public static String DOMAIN_FILE_NAME(Code) | | Path of the domain.xml configuration file
|
getDomainMap | public static DomainMap getDomainMap(String domainFileName, ClassLoader classLoaderForCls) throws DomainMapException(Code) | | Get an instance of a DomainMap by parsing the domain.xml configuration file.
Parameters: domainFileName - used when specific domain description file name has to be used Parameters: classLoaderForCls - the classloader for the classes. a DomainMap instance by parsing the domain.xml file throws: DomainMapException - if the domain.xml file iscorrupted. |
getParsingWithValidation | public static boolean getParsingWithValidation()(Code) | | Controls whether the parser is reporting all validity errors.
if true, all external entities will be read. |
loadDomain | public static Domain loadDomain(Reader reader, String fileName) throws DomainMapException(Code) | | Load the domain.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (domain.xml). throws: DomainMapException - if the file iscorrupted. a Domain object. |
setParsingWithValidation | public static void setParsingWithValidation(boolean validation)(Code) | | Controls whether the parser is reporting all validity errors.
Parameters: validation - if true, all external entities will be read. |
Fields inherited from org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager | final public static String LINK_SEPARATOR(Code)(Java Doc)
|
|
|
|