this.engine = engine;
RythmConfiguration conf = engine.conf();
sourceCodeEnhancer = conf.get(RythmConfigurationKey.CODEGEN_SOURCE_CODE_ENHANCER);
//byteCodeEnhancer = conf.get(RythmConfigurationKey.CODEGEN_BYTE_CODE_ENHANCER);
exceptionHandler = conf.get(RythmConfigurationKey.RENDER_EXCEPTION_HANDLER);
IRythmListener l = conf.get(RythmConfigurationKey.RENDER_LISTENER);
if (null != l) {
registerRenderListener(l);
}
registerHandlers();
}