|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager org.objectweb.jonas_domain.lib.DomainMapManager
public class DomainMapManager
This class extends the AbsDeploymentDescriptor class of JOnAS It provides a description of the domain map
Field Summary | |
---|---|
static java.lang.String |
DOMAIN_FILE_NAME
Path of the domain.xml configuration file |
Fields inherited from class org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager |
---|
LINK_SEPARATOR |
Method Summary | |
---|---|
static DomainMap |
getDomainMap(java.lang.String domainFileName,
java.lang.ClassLoader classLoaderForCls)
Get an instance of a DomainMap by parsing the domain.xml configuration file. |
static boolean |
getParsingWithValidation()
Controls whether the parser is reporting all validity errors. |
static Domain |
loadDomain(java.io.Reader reader,
java.lang.String fileName)
Load the domain.xml file. |
static void |
saveDomain(Domain domain,
java.lang.String fileName)
Save the domain.xml file. |
static void |
setParsingWithValidation(boolean validation)
Controls whether the parser is reporting all validity errors. |
Methods inherited from class org.objectweb.jonas_lib.deployment.lib.AbsDeploymentDescManager |
---|
xmlContent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String DOMAIN_FILE_NAME
Method Detail |
---|
public static DomainMap getDomainMap(java.lang.String domainFileName, java.lang.ClassLoader classLoaderForCls) throws DomainMapException
domainFileName
- used when specific domain description file name has to be usedclassLoaderForCls
- the classloader for the classes.
DomainMapException
- if the domain.xml file is
corrupted.public static Domain loadDomain(java.io.Reader reader, java.lang.String fileName) throws DomainMapException
reader
- the Reader of the XML file.fileName
- the name of the file (domain.xml).
DomainMapException
- if the file is
corrupted.public static void saveDomain(Domain domain, java.lang.String fileName) throws DomainMapException
domain
- domain representation.fileName
- the name of the file (domain.xml).
DomainMapException
- Problem writing into filepublic static boolean getParsingWithValidation()
public static void setParsingWithValidation(boolean validation)
validation
- if true, all external entities will be read.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |