public bool ConfigFactory()
{
if (getFactory == null) return true;
pFactory = getFactory(config);
if (pFactory == null) return true;
if (pFactory.RegisterProtocolFactory())
{
INFO("Loaded factory from application {0}", config[CONF_APPLICATION_NAME]);
return true;
}
FATAL("Unable to register factory exported by application {0}", config[CONF_APPLICATION_NAME]);
return false;
}