}
mgr.declareBean("sampleEvent", event, SampleEvent.class);
SampleResult result = event.getResult();
mgr.declareBean("sampleResult", result, SampleResult.class);
processFileOrScript(mgr);
mgr.terminate();
} catch (BSFException e) {
log.warn("Problem in BSF script "+e);
}
}