// iterate over reportlet instances defined for this report
for (ReportletConf reportletConf : report.getReportletConfs()) {
Class<Reportlet> reportletClass =
dataBinder.findReportletClassHavingConfClass(reportletConf.getClass());
if (reportletClass != null) {
Reportlet autowired = (Reportlet) beanFactory.createBean(reportletClass,
AbstractBeanDefinition.AUTOWIRE_BY_TYPE, false);
autowired.setConf(reportletConf);
// invoke reportlet
try {
autowired.extract(handler);
} catch (Exception e) {
execution.setStatus(ReportExecStatus.FAILURE);
Throwable t = e instanceof ReportException
? e.getCause()