}
}
A3CMLServer server = null;
if (cid != NULL_ID) {
A3CMLCluster cluster = null;
cluster = a3config.getCluster(sid);
// add cluster properties
if (cluster != null
&& cluster.properties != null
&& cluster.properties.size() > 0) {
Enumeration e = cluster.properties.elements();
do {
A3CMLProperty p = (A3CMLProperty) e.nextElement();
Configuration.putProperty(p.name, p.value);
if (logmon.isLoggable(BasicLevel.DEBUG))
logmon.log(BasicLevel.DEBUG,
getName() + " : Adds cluster property: " +
p.name + " = " + p.value);
} while (e.hasMoreElements());
}
if (cluster != null)
server = cluster.getServer(cid);
} else {
server = a3config.getServer(sid);
}
// add server properties