String[] facClassName = facSB.toString().split("\n");
for (int i=0; i<facClassName.length; i++) {
log.info("Registering the Mediator factory: " + facClassName[i]);
Class facClass = urlCl.loadClass(facClassName[i]);
MediatorFactory facInst = (MediatorFactory) facClass.newInstance();
MediatorFactoryFinder.getInstance()
.getFactoryMap().put(facInst.getTagQName(), facClass);
log.info("Mediator loaded and registered for " +
"the tag name: " + facInst.getTagQName());
}
} else {
handleException("Unable to find the MediatorFactory implementation. " +
"Unable to register the MediatorFactory with the FactoryFinder");
}