for (GFacHandlerConfig handlerConfig : daemonHandlerConfig) {
String className = handlerConfig.getClassName();
try {
Class<?> aClass = Class.forName(className).asSubclass(ThreadedHandler.class);
ThreadedHandler threadedHandler = (ThreadedHandler) aClass.newInstance();
threadedHandler.initProperties(handlerConfig.getProperties());
daemonHandlers.add(threadedHandler);
} catch (ClassNotFoundException e) {
log.error("Error initializing the handler: " + className);
log.error(className + " class has to implement " + ThreadedHandler.class);
} catch (InstantiationException e) {