manager.declareBean(key, model.get(key), model.get(key).getClass());
manager.registerBean(key, model.get(key));
}
manager.declareBean("out", writer, Writer.class);
manager.registerBean("out", writer);
manager.exec(template.getTemplateLanguage(),
"(java)", 1, 1, template.getContents());
long endTime = System.currentTimeMillis();
long renderTime = (endTime - startTime)/1000;
log.debug("Rendered ["+template.getId()+"] with language ["