*/
private final void parseGlobalSettings (final Element root) {
final NodeList globalConfiguration = root.getElementsByTagName(ELEMENT_GLOBAL);
final ResultFunctionFactory resultFunctionFactory = new ResultFunctionFactory();
Node parameter;
NodeList parameters;
NamedNodeMap attributes;
SettingEntry key;
for (int i = 0; i < globalConfiguration.getLength(); i++) {
parameters = globalConfiguration.item(i).getChildNodes();
for (int j = 0; j < parameters.getLength(); j++) {
parameter = parameters.item(j);
if (parameter.getNodeType() == Node.ELEMENT_NODE) {
attributes = parameter.getAttributes();
key = new SettingEntry();
key.setScope(attributes.getNamedItem(ATTRIBUTE_SCOPE).getNodeValue());
key.setResult(resultFunctionFactory.create(attributes.getNamedItem(ATTRIBUTE_RESULT).getNodeValue()));
// key.setSender(attributes.getNamedItem(ATTRIBUTE_SENDER).getNodeValue
// ());
key.setValue(parameter.getTextContent());
synchronized (globalConfig) {