fr.dyade.aaa.agent.conf.A3CML Class Reference

List of all members.

Static Public Member Functions

static final void toXML (A3CMLConfig config, String cfgDir, String xmlFileName) throws Exception
static final void toXML (A3CMLConfig config, PrintWriter out) throws Exception
static A3CMLConfig getXMLConfig () throws Exception
static A3CMLConfig getXMLConfig (String cfgDir, String cfgFileName) throws Exception
static A3CMLConfig getXMLConfig (String path) throws Exception
static A3CMLConfig getConfig (Reader reader) throws Exception

Static Package Attributes

static final String ELT_CONFIG = "config"
static final String ELT_DOMAIN = "domain"
static final String ELT_SERVER = "server"
static final String ELT_NETWORK = "network"
static final String ELT_SERVICE = "service"
static final String ELT_PROPERTY = "property"
static final String ELT_NAT = "nat"
static final String ELT_CLUSTER = "cluster"
static final String ATT_ID = "id"
static final String ATT_NAME = "name"
static final String ATT_DOMAIN = "domain"
static final String ATT_NETWORK = "network"
static final String ATT_HOSTNAME = "hostname"
static final String ATT_PORT = "port"
static final String ATT_SERVER = "server"
static final String ATT_CLASS = "class"
static final String ATT_ARGS = "args"
static final String ATT_VALUE = "value"
static final String ELT_JVM_ARGS = "jvmArgs"
static final String ATT_SID = "sid"
static final String TAB = " "
static final String TAB2 = TAB + TAB

Detailed Description

Defines XML syntactic element for A3CML configuration file.

Definition at line 31 of file A3CML.java.


Member Function Documentation

static final void fr.dyade.aaa.agent.conf.A3CML.toXML ( A3CMLConfig  config,
String  cfgDir,
String  xmlFileName 
) throws Exception [static]

write a configuration in an A3CML file.

Definition at line 78 of file A3CML.java.

static A3CMLConfig fr.dyade.aaa.agent.conf.A3CML.getXMLConfig (  )  throws Exception [static]

Gets an agent server configuration from a XML file. This method fills the object graph configuration in the A3CMLConfig object.

Returns:
the A3CMLConfig object if file exists and is correct, null otherwise.
Exceptions:
Exception unspecialized exception when reading and parsing the configuration file

Definition at line 261 of file A3CML.java.

References fr.dyade.aaa.agent.conf.A3CMLConfig.getProperty().

Referenced by fr.dyade.aaa.agent.conf.A3CML.getXMLConfig().

Here is the call graph for this function:

static A3CMLConfig fr.dyade.aaa.agent.conf.A3CML.getXMLConfig ( String  cfgDir,
String  cfgFileName 
) throws Exception [static]

Gets an agent server configuration from a XML file. This method fills the object graph configuration in the A3CMLConfig object.

Parameters:
cfgDir directory of XML file
cfgFile XML configuration file
Returns:
the A3CMLConfig object if file exists and is correct, null otherwise.
Exceptions:
Exception unspecialized exception when reading and parsing the configuration file

Definition at line 282 of file A3CML.java.

References fr.dyade.aaa.agent.conf.A3CML.getXMLConfig().

Here is the call graph for this function:

static A3CMLConfig fr.dyade.aaa.agent.conf.A3CML.getConfig ( Reader  reader  )  throws Exception [static]

Gets configuration of agent servers from a XML file. This method fills the object graph configuration in the Config object.

Parameters:
reader Reader
cfgFileName configuration file name (XML file)
Returns:
the Config object if file exists and is correct, null otherwise.
Exceptions:
Exception unspecialized exception when reading and parsing the configuration file

Definition at line 366 of file A3CML.java.

References fr.dyade.aaa.agent.conf.A3CMLConfig.getProperty(), fr.dyade.aaa.agent.conf.A3CMLWrapper.parse(), and fr.dyade.aaa.agent.conf.A3CMLConfig.servers.

Referenced by fr.dyade.aaa.agent.conf.A3CML.getXMLConfig().

Here is the call graph for this function:


Member Data Documentation

final String fr.dyade.aaa.agent.conf.A3CML.ELT_CONFIG = "config" [static, package]

Syntaxic name for config element

Definition at line 33 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ELT_DOMAIN = "domain" [static, package]

Syntaxic name for domain element

Definition at line 35 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ELT_SERVER = "server" [static, package]

Syntaxic name for server element

Definition at line 37 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ELT_NETWORK = "network" [static, package]

Syntaxic name for network element

Definition at line 39 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ELT_SERVICE = "service" [static, package]

Syntaxic name for service element

Definition at line 41 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ELT_PROPERTY = "property" [static, package]

Syntaxic name for property element

Definition at line 43 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ELT_NAT = "nat" [static, package]

Syntaxic name for nat element

Definition at line 45 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ELT_CLUSTER = "cluster" [static, package]

Syntaxic name for cluster element

Definition at line 47 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ATT_ID = "id" [static, package]

Syntaxic name for id attribute

Definition at line 49 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ATT_NAME = "name" [static, package]

Syntaxic name for name attribute

Definition at line 51 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ATT_DOMAIN = "domain" [static, package]

Syntaxic name for domain attribute

Definition at line 53 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ATT_NETWORK = "network" [static, package]

Syntaxic name for network attribute

Definition at line 55 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ATT_HOSTNAME = "hostname" [static, package]

Syntaxic name for hostname attribute

Definition at line 57 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ATT_PORT = "port" [static, package]

Syntaxic name for port attribute

Definition at line 59 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ATT_SERVER = "server" [static, package]

Syntaxic name for server attribute

Definition at line 61 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ATT_CLASS = "class" [static, package]

Syntaxic name for class attribute

Definition at line 63 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ATT_ARGS = "args" [static, package]

Syntaxic name for args attribute

Definition at line 65 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ATT_VALUE = "value" [static, package]

Syntaxic name for value attribute

Definition at line 67 of file A3CML.java.

Referenced by fr.dyade.aaa.agent.conf.A3CML.toXML().

final String fr.dyade.aaa.agent.conf.A3CML.ELT_JVM_ARGS = "jvmArgs" [static, package]

Syntaxic for server jvm arguments

Definition at line 69 of file A3CML.java.

final String fr.dyade.aaa.agent.conf.A3CML.ATT_SID = "sid" [static, package]

Syntaxic name for sid attribute

Definition at line 71 of file A3CML.java.


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:16:56 2008 for joram by  doxygen 1.5.0