Package org.apache.uima.flow.impl
Class FlowControllerContext_impl
- java.lang.Object
-
- org.apache.uima.impl.UimaContext_ImplBase
-
- org.apache.uima.impl.ChildUimaContext_impl
-
- org.apache.uima.flow.impl.FlowControllerContext_impl
-
- All Implemented Interfaces:
FlowControllerContext,UimaContext,UimaContextAdmin
public class FlowControllerContext_impl extends ChildUimaContext_impl implements FlowControllerContext
Implementation of FlowControllerContext.
-
-
Field Summary
Fields Modifier and Type Field Description private AnalysisEngineMetaDatamAggregateMetadataprivate java.util.Map<java.lang.String,AnalysisEngineMetaData>mAnalysisEngineMetaDataMap-
Fields inherited from class org.apache.uima.impl.UimaContext_ImplBase
loggingThrottleLimit, mCasPoolSize, mMBean, mOutstandingCASes, mQualifiedContextName, mSofaMappings
-
-
Constructor Summary
Constructors Constructor Description FlowControllerContext_impl(UimaContextAdmin aParentContext, java.lang.String aContextName, java.util.Map<java.lang.String,java.lang.String> aSofaMappings, java.util.Map<java.lang.String,AnalysisEngineMetaData> aAnalysisEngineMetaDataMap, AnalysisEngineMetaData aAggregateMetadata)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnalysisEngineMetaDatagetAggregateMetadata()Gets the metadata of the Aggregate AnalysisEngine containing this FlowController.java.util.Map<java.lang.String,AnalysisEngineMetaData>getAnalysisEngineMetaDataMap()Gets a map from Analysis Engine key (a String) toAnalysisEngineMetaData.-
Methods inherited from class org.apache.uima.impl.ChildUimaContext_impl
getConfigurationManager, getInstrumentationFacility, getLogger, getResourceManager, getRootContext, getSession, initializeRoot, setLogger, setPearResourceManager, setProcessTrace, setSession
-
Methods inherited from class org.apache.uima.impl.UimaContext_ImplBase
combineSofaMappings, createChild, defineCasPool, getComponentInfo, getConfigParameterNames, getConfigParameterNames, getConfigParameterValue, getConfigParameterValue, getConfigurationGroupNames, getDataPath, getDataPathElements, getEmptyCas, getExternalOverrides, getManagementInterface, getMdcId, getQualifiedContextName, getResourceAsStream, getResourceAsStream, getResourceFilePath, getResourceFilePath, getResourceObject, getResourceObject, getResourceURI, getResourceURI, getResourceURL, getResourceURL, getSharedSettingArray, getSharedSettingNames, getSharedSettingValue, getSofaMap, getSofaMappings, getUniqueName, makeQualifiedName, mapSofaIDToComponentSofaName, mapToSofaID, maybeThrottleLogger, returnedCAS, setExternalOverrides, setLoggingThrottleLimit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.uima.UimaContext
getConfigParameterNames, getConfigParameterNames, getConfigParameterValue, getConfigParameterValue, getConfigurationGroupNames, getDataPath, getDataPathElements, getEmptyCas, getInstrumentationFacility, getLogger, getResourceAsStream, getResourceAsStream, getResourceFilePath, getResourceFilePath, getResourceObject, getResourceObject, getResourceURI, getResourceURI, getResourceURL, getResourceURL, getSession, getSharedSettingArray, getSharedSettingNames, getSharedSettingValue, getSofaMappings, mapSofaIDToComponentSofaName, mapToSofaID
-
Methods inherited from interface org.apache.uima.UimaContextAdmin
createChild, defineCasPool, getComponentInfo, getExternalOverrides, getManagementInterface, getQualifiedContextName, getSofaMap, getUniqueName, returnedCAS, setExternalOverrides
-
-
-
-
Field Detail
-
mAnalysisEngineMetaDataMap
private java.util.Map<java.lang.String,AnalysisEngineMetaData> mAnalysisEngineMetaDataMap
-
mAggregateMetadata
private AnalysisEngineMetaData mAggregateMetadata
-
-
Constructor Detail
-
FlowControllerContext_impl
public FlowControllerContext_impl(UimaContextAdmin aParentContext, java.lang.String aContextName, java.util.Map<java.lang.String,java.lang.String> aSofaMappings, java.util.Map<java.lang.String,AnalysisEngineMetaData> aAnalysisEngineMetaDataMap, AnalysisEngineMetaData aAggregateMetadata)
- Parameters:
aParentContext- -aContextName- -aSofaMappings- -aAnalysisEngineMetaDataMap- -aAggregateMetadata- -
-
-
Method Detail
-
getAnalysisEngineMetaDataMap
public java.util.Map<java.lang.String,AnalysisEngineMetaData> getAnalysisEngineMetaDataMap()
Description copied from interface:FlowControllerContextGets a map from Analysis Engine key (a String) toAnalysisEngineMetaData. This map contains an entry for all Analysis Engines to which the FlowController can route CASes.- Specified by:
getAnalysisEngineMetaDataMapin interfaceFlowControllerContext- Returns:
- a map with
Stringkeys, andAnalysisEngineMetaDatavalues
-
getAggregateMetadata
public AnalysisEngineMetaData getAggregateMetadata()
Description copied from interface:FlowControllerContextGets the metadata of the Aggregate AnalysisEngine containing this FlowController. This includes the specification of the inputs and outputs of the aggregate, which may be useful for some FlowController implementations.- Specified by:
getAggregateMetadatain interfaceFlowControllerContext- Returns:
- the Capabilities of the aggregate containing this FlowController.
-
-