fr.dyade.aaa.agent.conf
Class A3CML
java.lang.Object
fr.dyade.aaa.agent.conf.A3CML
public class A3CML
extends java.lang.Object
Defines XML syntactic element for A3CML configuration file.
getConfig
public static A3CMLConfig getConfig(Reader reader)
throws Exception
Gets configuration of agent servers from a XML file. This method
fills the object graph configuration in the Config
object.
reader
- Reader
- the
Config
object if file exists and is
correct, null otherwise.
getXMLConfig
public static A3CMLConfig getXMLConfig()
throws Exception
Gets an agent server configuration from a XML file. This method
fills the object graph configuration in the A3CMLConfig
object.
- the
A3CMLConfig
object if file exists and is
correct, null otherwise.
getXMLConfig
public static A3CMLConfig getXMLConfig(String path)
throws Exception
getXMLConfig
public static A3CMLConfig getXMLConfig(String cfgDir,
String cfgFileName)
throws Exception
Gets an agent server configuration from a XML file. This method
fills the object graph configuration in the A3CMLConfig
object.
cfgDir
- directory of XML file
- the
A3CMLConfig
object if file exists and is
correct, null otherwise.
toXML
public static final void toXML(A3CMLConfig config,
PrintWriter out)
throws Exception
toXML
public static final void toXML(A3CMLConfig config,
String cfgDir,
String xmlFileName)
throws Exception
write a configuration in an A3CML file.
Copyright B) 2004 Scalagent - All rights reserved