long startTime = debug ? System.currentTimeMillis() : 0;
BSFManager bsf = obtainBSFManager(cycle);
ILocation location = getLocation();
try
{
IPage page = cycle.getPage();
bsf.declareBean("component", _component, _component.getClass());
bsf.declareBean("page", page, page.getClass());
bsf.declareBean("cycle", cycle, cycle.getClass());
bsf.exec(
_language,
location.getResourceLocation().toString(),
location.getLineNumber(),
location.getLineNumber(),
_script);
}
catch (BSFException ex)
{
String message =