}
QuartzEndpoint endpoint = (QuartzEndpoint) component.getRegistry().getEndpoint(endpointName);
if (endpoint == null) {
throw new JobExecutionException("No quartz JBI endpoint available for key: " + endpointName + ". Bad job data map");
}
endpoint.onJobExecute(context);
} catch (SchedulerException e) {
throw new JobExecutionException(e);
}
}