Audit scheduleAudit = AuditEnum.SCHEDULE.getAudit(annotations);
if (scheduleAudit != null) {
schedulingService = new SchedulingServiceAudit(engineServices.getEngineURI(), statementName, schedulingService);
}
StatementAIResourceRegistry statementAgentInstanceRegistry = null;
ContextDescriptor contextDescriptor = null;
String optionalContextName = statementSpecRaw.getOptionalContextName();
if (optionalContextName != null) {
contextDescriptor = engineServices.getContextManagementService().getContextDescriptor(optionalContextName);