initializeOtherResources(contextResolvers, resources);
application = createApplication(resources);
try
{
ServerRuntime serverRuntime = ClassUtils.getFieldValue(application, "runtime", false);
backgroundScheduler = ClassUtils.getFieldValue(serverRuntime, "backgroundScheduler", false);
}
catch (Exception e)
{
throw new InitialisationException(e, this);