private bool ConfigModule(Variant node)
{
var module = new Module {config = node};
if (_staticGetApplicationFunction != null)
{
module.getApplication = _staticGetApplicationFunction;
module.getFactory = _staticGetFactoryFunction;
}
if (!module.Load())
{
FATAL("Unable to load module");
return false;
}
_modules.Add(node[CONF_APPLICATION_NAME], module);
return true;
}