getClusterDaemonConfiguration(String clusterDaemonFileName, ClassLoader classLoaderForCls) Get an instance of a ClusterDaemonConfiguration by parsing the clusterd.xml configuration file.
Parameters: clusterDaemonFileName - used when specific cluster daemon configuration file name has to be used Parameters: classLoaderForCls - the classloader for the classes.
loadClusterDaemon(Reader reader, String fileName) Load the clusterd.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (clusterd.xml). throws: ClusterDaemonConfigurationException - if the file is corrupted.
public static void
setParsingWithValidation(boolean validation) Controls whether the parser is reporting all validity errors.
Field Detail
CLUSTERD_FILE_NAME
final public static String CLUSTERD_FILE_NAME(Code)
Get an instance of a ClusterDaemonConfiguration by parsing the clusterd.xml configuration file.
Parameters: clusterDaemonFileName - used when specific cluster daemon configuration file name has to be used Parameters: classLoaderForCls - the classloader for the classes. a ClusterDaemonConfiguration instance by parsing the clusterd.xml file throws: ClusterDaemonConfigurationException - if the clusterd.xml file is corrupted.
getParsingWithValidation
public static boolean getParsingWithValidation()(Code)
Controls whether the parser is reporting all validity errors.
if true, all external entities will be read.
Load the clusterd.xml file.
Parameters: reader - the Reader of the XML file. Parameters: fileName - the name of the file (clusterd.xml). throws: ClusterDaemonConfigurationException - if the file is corrupted. a ClusterDaemon 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