Class FlowContainer
- java.lang.Object
-
- org.apache.uima.analysis_engine.asb.impl.FlowContainer
-
public class FlowContainer extends java.lang.Object
Container for Flow objects, to handle CAS conversions and performance timing.
-
-
Field Summary
Fields Modifier and Type Field Description private CASImpl
mCAS
private Flow
mFlow
private FlowControllerContainer
mFlowControllerContainer
private boolean
mSofaAware
private UimaTimer
mTimer
-
Constructor Summary
Constructors Constructor Description FlowContainer(Flow aFlow, FlowControllerContainer aFlowControllerContainer, CAS aCAS)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
aborted()
boolean
continueOnFailure(java.lang.String failedAeKey, java.lang.Exception failure)
private CasManager
getCasManager()
private java.lang.ClassLoader
getFlowClassLoader()
AnalysisEngineManagementImpl
getMBean()
Gets the MBean to use to report performance statistics.FlowContainer
newCasProduced(CAS newCAS, java.lang.String producedBy)
Step
next()
-
-
-
Field Detail
-
mFlow
private Flow mFlow
-
mFlowControllerContainer
private FlowControllerContainer mFlowControllerContainer
-
mSofaAware
private boolean mSofaAware
-
mCAS
private CASImpl mCAS
-
mTimer
private UimaTimer mTimer
-
-
Constructor Detail
-
FlowContainer
public FlowContainer(Flow aFlow, FlowControllerContainer aFlowControllerContainer, CAS aCAS)
-
-
Method Detail
-
newCasProduced
public FlowContainer newCasProduced(CAS newCAS, java.lang.String producedBy) throws AnalysisEngineProcessException
- Throws:
AnalysisEngineProcessException
-
next
public Step next() throws AnalysisEngineProcessException
- Throws:
AnalysisEngineProcessException
-
aborted
public void aborted()
-
continueOnFailure
public boolean continueOnFailure(java.lang.String failedAeKey, java.lang.Exception failure)
-
getCasManager
private CasManager getCasManager()
-
getMBean
public AnalysisEngineManagementImpl getMBean()
Gets the MBean to use to report performance statistics.- Returns:
- the MBean to use to report performance statistics
-
getFlowClassLoader
private java.lang.ClassLoader getFlowClassLoader()
-
-