if (flow instanceof JCasFlow_ImplBase) {
((JCasFlow_ImplBase)flow).setJCas(view.getJCas());
}
return new FlowContainer(flow, mFlowControllerContainer, newCAS);
} catch (CASException e) {
throw new AnalysisEngineProcessException(e);
} finally {
((CASImpl)newCAS).restoreClassLoaderUnlockCas();
newCAS.setCurrentComponentInfo(null);
mTimer.stopIt();
getMBean().reportAnalysisTime(mTimer.getDuration());