GatewayBeanFactory.getInstance().createDispelEngine();
CompileErrorListener errorListener =
new CompileErrorListener(mErrors);
dispelEngine.addErrorListener(errorListener);
SimpleRegistrationListener regListener =
new SimpleRegistrationListener(mErrors);
dispelEngine.addRegistrationListener(regListener);
// Compile the DISPEL and optimise the graphs
DispelEngineResult engineResult = null;
try