Package org.apache.uima.fit.component
Class CasMultiplier_ImplBase
java.lang.Object
org.apache.uima.analysis_component.AnalysisComponent_ImplBase
org.apache.uima.analysis_component.CasMultiplier_ImplBase
org.apache.uima.fit.component.CasMultiplier_ImplBase
- All Implemented Interfaces:
AnalysisComponent
Base class for a CAS multiplier which initializes itself based on annotations.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
initialize
(UimaContext context) Performs any startup tasks required by this component.Methods inherited from class org.apache.uima.analysis_component.CasMultiplier_ImplBase
getCasInstancesRequired, getEmptyCAS, getRequiredCasInterface, process, process, typeSystemInit
Methods inherited from class org.apache.uima.analysis_component.AnalysisComponent_ImplBase
batchProcessComplete, collectionProcessComplete, destroy, getContext, getLogger, getResultSpecification, reconfigure, setResultSpecification
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.analysis_component.AnalysisComponent
hasNext, next
-
Constructor Details
-
CasMultiplier_ImplBase
public CasMultiplier_ImplBase()
-
-
Method Details
-
initialize
Description copied from interface:AnalysisComponent
Performs any startup tasks required by this component. The framework calls this method only once, just after the AnalysisComponent has been instantiated.The framework supplies this AnalysisComponent with a reference to the
UimaContext
that it will use, for example to access configuration settings or resources. This AnalysisComponent should store a reference to its theUimaContext
for later use.- Specified by:
initialize
in interfaceAnalysisComponent
- Overrides:
initialize
in classAnalysisComponent_ImplBase
- Parameters:
context
- Provides access to services and resources managed by the framework. This includes configuration parameters, logging, and access to external resources.- Throws:
ResourceInitializationException
- if this AnalysisComponent cannot initialize successfully.
-