}
if (caseDatabase.getSchemaContext() == null)
{
caseDatabase.setSchemaContext(schemaContext);
}
ScriptInterpretor scriptInterpretor = new JavaInterpretor();
scriptInterpretor.initialize(context.getScriptContext());
context.setCaseDatabase(caseDatabase);
context.setUserDatabase(userDatabase);
context.setScriptInterpretor(scriptInterpretor);
if (context.getEngine().getService().getNamingServer() != null)