for (String handler : handlersProps.keySet ()) {
try {
classname = handlersProps.getProperty (handler).trim ();
Class<? extends HandlerFactory> cls =
Class.forName (classname).asSubclass (HandlerFactory.class);
HandlerFactory hf = cls.newInstance ();
hf.setup (log, config.getProperties (classname));
hhandlers.put (handler, hf);
} catch (ClassNotFoundException ex) {
log.logError ( "Could not load class: '" + classname +
"' for handlerfactory '" + handler + "'");
} catch (InstantiationException ie) {