String name = handler.getName();
if (name == null){
name = handler.getClass().getName();
}
handlers.put(name, handler);
if (traceOn){
StringBuffer sb = new StringBuffer ();
for (String handlerName : handlers.keySet()){
sb.append(handlerName+ ", ");
}
logger.log(Level.INFO, " Callflow: Handlers :" +sb.toString() );
}