Uses of Class
org.apache.uima.resource.ResourceInitializationException
Package
Description
Apache UIMA
The Analysis Engine interface, along with supporting interfaces and exception classes.
Contains the Analysis Structure Broker (ASB) interface, along with supporting interfaces and
exception classes.
Implementation and Low-Level API for the CAS Interfaces.
Classes and interfaces for collection processing.
uimaFIT-enhanced base classes for UIMA components and some simple components.
Reflection-based context and dependency injection.
Collection Processing Engine (CPE) support.
Example for an UIMA-based experiment running an analysis and evaluating the results.
Example for a simple analysis engine and pipeline.
Examples for using the
ExternalResource
annotation.Example for using the
ExternalResource
annotation.Factories to create different kinds of UIMA resource specifiers.
INTERNAL API - May change without further notice.
Executing UIMA pipelines.
Apache UIMA internals
The
org.apache.uima.pear.tools
package provides applications and
tools that allow installing PEAR packages containing UIMA-compliant components, verifying
serviceability of installed components by using UIMA API and browsing PEAR packages.Interfaces for
Resources
and ResourceSpecifiers
.Utility classes and interfaces used by UIMA components.
-
Uses of ResourceInitializationException in org.apache.uima
Modifier and TypeMethodDescriptionprotected abstract CollectionProcessingEngine
UIMAFramework._produceCollectionProcessingEngine
(CpeDescription aCpeDescription, Map<String, Object> aAdditionalParams) To be implemented by subclasses; this should produce aCollectionProcessingEngine
instance from acpeDescription
.void
UimaContextAdmin.defineCasPool
(int aSize, Properties aPerformanceTuningSettings, boolean aSofaAware) Defines the CAS pool that this UimaContext must support.static AnalysisEngine
UIMAFramework.produceAnalysisEngine
(ResourceSpecifier aSpecifier) Produces anAnalysisEngine
instance from aResourceSpecifier
.static AnalysisEngine
UIMAFramework.produceAnalysisEngine
(ResourceSpecifier aSpecifier, int aMaxSimultaneousRequests, int aTimeoutPeriod) Produces anAnalysisEngine
instance from aResourceSpecifier
.static AnalysisEngine
UIMAFramework.produceAnalysisEngine
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces anAnalysisEngine
instance from aResourceSpecifier
.static AnalysisEngine
UIMAFramework.produceAnalysisEngine
(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anAnalysisEngine
instance from aResourceSpecifier
.static CasConsumer
UIMAFramework.produceCasConsumer
(ResourceSpecifier aSpecifier) Produces aCasConsumer
instance from aResourceSpecifier
.static CasConsumer
UIMAFramework.produceCasConsumer
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces aCasConsumer
instance from aResourceSpecifier
.static CasConsumer
UIMAFramework.produceCasConsumer
(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCasConsumer
instance from aResourceSpecifier
.static CasInitializer
UIMAFramework.produceCasInitializer
(ResourceSpecifier aSpecifier) Deprecated.As of v2.0, CAS Initializers are deprecated.static CasInitializer
UIMAFramework.produceCasInitializer
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces aCasInitializer
instance from aResourceSpecifier
.static CasInitializer
UIMAFramework.produceCasInitializer
(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCasInitializer
instance from aResourceSpecifier
.static CollectionProcessingEngine
UIMAFramework.produceCollectionProcessingEngine
(CpeDescription aCpeDescription) Produces aCollectionProcessingEngine
instance from acpeDescription
.static CollectionProcessingEngine
UIMAFramework.produceCollectionProcessingEngine
(CpeDescription aCpeDescription, Map<String, Object> aAdditionalParams) Produces aCollectionProcessingEngine
instance from acpeDescription
.static CollectionProcessingEngine
UIMAFramework.produceCollectionProcessingEngine
(CpeDescription aCpeDescription, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces aCollectionProcessingEngine
instance from acpeDescription
.static CollectionReader
UIMAFramework.produceCollectionReader
(ResourceSpecifier aSpecifier) Produces aCollectionReader
instance from aResourceSpecifier
.static CollectionReader
UIMAFramework.produceCollectionReader
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces aCollectionReader
instance from aResourceSpecifier
.static CollectionReader
UIMAFramework.produceCollectionReader
(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCollectionReader
instance from aResourceSpecifier
.ResourceFactory.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces an appropriateResource
instance from aResourceSpecifier
.static Resource
UIMAFramework.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces an appropriateResource
instance of a specified class from aResourceSpecifier
.static Resource
UIMAFramework.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces an appropriateResource
instance of a specified class from aResourceSpecifier
.static Resource
UIMAFramework.produceResource
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces an appropriateResource
instance from aResourceSpecifier
.static TextAnalysisEngine
UIMAFramework.produceTAE
(ResourceSpecifier aSpecifier) Deprecated.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier)
should be used instead.static TextAnalysisEngine
UIMAFramework.produceTAE
(ResourceSpecifier aSpecifier, int aMaxSimultaneousRequests, int aTimeoutPeriod) Deprecated.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier,int,int)
should be used instead.static TextAnalysisEngine
UIMAFramework.produceTAE
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Deprecated.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier,Map)
should be used instead.static TextAnalysisEngine
UIMAFramework.produceTAE
(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Deprecated.As of v2.0,UIMAFramework.produceAnalysisEngine(ResourceSpecifier,ResourceManager,Map)
should be used instead. -
Uses of ResourceInitializationException in org.apache.uima.adapter.vinci
Modifier and TypeMethodDescriptionboolean
VinciAnalysisEngineServiceAdapter.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Initialize.ModifierConstructorDescriptionVinciAnalysisEngineServiceStub
(String endpointURI, Integer timeout, Resource owner, Parameter[] parameters) Instantiates a new vinci analysis engine service stub.VinciAnalysisEngineServiceStub
(String endpointURI, Resource owner) Instantiates a new vinci analysis engine service stub.VinciBinaryAnalysisEngineServiceStub
(String endpointURI, Integer timeout, AnalysisEngineServiceAdapter owner, Parameter[] parameters) Instantiates a new vinci binary analysis engine service stub.VinciBinaryAnalysisEngineServiceStub
(String endpointURI, AnalysisEngineServiceAdapter owner) Instantiates a new vinci binary analysis engine service stub. -
Uses of ResourceInitializationException in org.apache.uima.analysis_component
Modifier and TypeMethodDescriptionvoid
AnalysisComponent_ImplBase.initialize
(UimaContext aContext) void
AnalysisComponent.initialize
(UimaContext aContext) Performs any startup tasks required by this component.boolean
CasProcessorAnnotator.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) boolean
JCasProcessorAnnotator.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) static CasProcessorAnnotator
CasProcessorAnnotator.of
(CasProcessor<? extends Exception> aCasAnnotator) static JCasProcessorAnnotator
JCasProcessorAnnotator.of
(JCasProcessor<? extends Exception> aJCasAnnotator) void
AnalysisComponent_ImplBase.reconfigure()
Notifies this AnalysisComponent that its configuration parameters have changed.void
AnalysisComponent.reconfigure()
Alerts this AnalysisComponent that the values of its configuration parameters or external resources have changed. -
Uses of ResourceInitializationException in org.apache.uima.analysis_engine
Modifier and TypeMethodDescriptionvoid
AnalysisEngineDescription.doFullValidation()
Does full validation of this Analysis Engine Description.void
AnalysisEngineDescription.doFullValidation
(ResourceManager aResourceManager) Does full validation of this Analysis Engine Description.AnalysisEngineDescription.getComponentSpecifier
(String key) Gets the ResourceSpecifier of one a component of this aggregate, based on its key.boolean
AnalysisEngine.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Initializes thisResource
from aResourceSpecifier
.AnalysisEngine.newCAS()
Creates a new Common Analysis System appropriate for this Analysis Engine.AnalysisEngine.newJCas()
Similar toAnalysisEngine.newCAS()
but wraps the new CAS objects with the Java-object-basedJCas
interface. -
Uses of ResourceInitializationException in org.apache.uima.analysis_engine.asb
Modifier and TypeMethodDescriptionvoid
ASB.setup
(Map<String, ResourceSpecifier> aComponentSpecifiers, UimaContextAdmin aParentContext, FlowControllerDeclaration aFlowControllerDeclaration, AnalysisEngineMetaData aAggregateMetadata) Called by the Aggregate Analysis Engine to provide this ASB with information it needs to operate. -
Uses of ResourceInitializationException in org.apache.uima.analysis_engine.asb.impl
Modifier and TypeMethodDescriptionprotected void
ASB_impl.initFlowController
(FlowControllerDeclaration aFlowControllerDeclaration, UimaContextAdmin aParentContext, AnalysisEngineMetaData aAggregateMetadata) boolean
ASB_impl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Initializes this ASB.boolean
FlowControllerContainer.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) void
ASB_impl.setup
(Map<String, ResourceSpecifier> aSpecifiers, UimaContextAdmin aParentContext, FlowControllerDeclaration aFlowControllerDeclaration, AnalysisEngineMetaData aAggregateMetadata) Called after calling initialize() (see above) by the Aggregate Analysis Engine to provide this ASB with information it needs to operate. -
Uses of ResourceInitializationException in org.apache.uima.analysis_engine.impl
Modifier and TypeMethodDescriptionprotected void
AnalysisEngineImplBase.callInitializeMethod
(AnalysisComponent component, UimaContext context) protected void
AnalysisEngineDescription_impl.checkForInvalidParameterOverrides
(ConfigurationParameter[] aParams, String aGroupName, ResourceManager aResourceManager) OverridesResourceCreationSpecifier_impl.checkForInvalidParameterOverrides(ConfigurationParameter[], String, ResourceManager)
to validate parameter overrides in an aggregate AE.void
AnalysisEngineDescription_impl.doFullValidation()
void
AnalysisEngineDescription_impl.doFullValidation
(ResourceManager aResourceManager) AnalysisEngineDescription_impl.getComponentSpecifier
(String key) Gets the ResourceSpecifier of one a component of this aggregate, based on its key.protected void
AggregateAnalysisEngine_impl.initASB
(AnalysisEngineDescription aAnalysisEngineDescription, Map<String, Object> aAdditionalParams) A utility method that creates and configures the ASB component.boolean
AggregateAnalysisEngine_impl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) boolean
AnalysisEngineImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) boolean
MultiprocessingAnalysisEngine_impl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) boolean
PearAnalysisEngineWrapper.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) boolean
PrimitiveAnalysisEngine_impl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) boolean
UimacppAnalysisEngineImpl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) protected void
AggregateAnalysisEngine_impl.initializeAggregateAnalysisEngine
(AnalysisEngineDescription aDescription, Map<String, Object> aAdditionalParams) A utility method that performs initialization logic for a aggregate AnalysisEngine.protected void
PrimitiveAnalysisEngine_impl.initializeAnalysisComponent
(Map<String, Object> aAdditionalParams) Loads, instantiates, and initializes the AnalysisComponent contained in this AE.protected void
UimacppAnalysisEngineImpl.initializeAnalysisComponent()
A utility method that performs initialization logic for a primitive AnalysisEngine.protected void
UimacppAnalysisEngineImpl.mergeDelegateAnalysisEngineMetaData()
For an aggregate TAF AE, sets this aggregate AE's Type System, Type Priorities, and FS Index Descriptions equal to the result of merging the information from its delegate AEs.AnalysisEngineImplBase.newCAS()
PearAnalysisEngineWrapper.newCAS()
AnalysisEngineImplBase.newJCas()
protected void
AggregateAnalysisEngine_impl.processDelegateAnalysisEngineMetaData()
Does processing using the delegate AnalysisEngine metadata once it becomes available.void
AnalysisEngineImplBase.typeSystemInit
(TypeSystem aTypeSystem) From the CAS Processor interface.void
PearAnalysisEngineWrapper.typeSystemInit
(TypeSystem typeSystem) void
AnalysisEngineDescription_impl.validate
(ResourceManager aResourceManager) Determines if the AnalysisEngineDescription is valid.protected void
AggregateAnalysisEngine_impl.validateOperationalProperties()
Checks operational properties in an aggregate to ensure they are not inconsistent with operational properties of the components.protected void
AnalysisEngineDescription_impl.validateSofaMappings()
Validate SofA mappings and inputs/outputs for an aggregate AE. -
Uses of ResourceInitializationException in org.apache.uima.analysis_engine.impl.compatibility
Modifier and TypeMethodDescriptionstatic AnalysisComponent
AnalysisComponentAdapterFactory.createAdapter
(Object aAdaptee, AnalysisEngineMetaData aMetaData, Map<String, Object> aAdditionalParams) Creates an adapter that allows the given object to implement theAnalysisComponent
interface.void
AnnotatorAdapter.initialize
(UimaContext aContext) void
CasConsumerAdapter.initialize
(UimaContext aContext) void
CollectionReaderAdapter.initialize
(UimaContext aContext) void
AnnotatorAdapter.reconfigure()
void
CasConsumerAdapter.reconfigure()
void
CollectionReaderAdapter.reconfigure()
ModifierConstructorDescriptionAnnotatorAdapter
(BaseAnnotator aAnnotator, AnalysisEngineMetaData aMetaData, Map<String, Object> aAdditionalParams) Create a new annotator adapter. -
Uses of ResourceInitializationException in org.apache.uima.analysis_engine.service.impl
Modifier and TypeMethodDescriptionvoid
AnalysisEngineService_impl.initialize
(ResourceSpecifier aResourceSpecifier, int aNumSimultaneousRequests, int aTimeout) An alternative form of initialize that takes the number of simultaneous requests and timeout period as explicit arguments.void
AnalysisEngineService_impl.initialize
(ResourceSpecifier aResourceSpecifier, Map<String, Object> aResourceInitParams) Initialize this service. -
Uses of ResourceInitializationException in org.apache.uima.cas.impl
Modifier and TypeMethodDescriptionstatic BinaryCasSerDes6
Serialization.deserializeCAS
(CAS cas, InputStream istream, TypeSystem tgtTypeSystem, BinaryCasSerDes6.ReuseInfo reuseInfo) Deserialize a CAS, in various binary formats, into an existing CAS Note: this form supports deserializing the following binary representations: - compressed, type filtering (form 6), delta and not-delta.static BinaryCasSerDes6
Serialization.deserializeCAS
(CAS cas, InputStream istream, TypeSystem tgtTypeSystem, BinaryCasSerDes6.ReuseInfo reuseInfo, AllowPreexistingFS allowPreexisting) Deserialize a CAS, in various binary formats, into an existing CAS Note: this form supports deserializing the following binary representations: - compressed, type filtering (form 6), delta and not-delta.static BinaryCasSerDes6.ReuseInfo
Serialization.serializeWithCompression
(CAS cas, Object out, boolean includeTS, boolean includeTSI) Serialize in compressed binary with type filtering This method can use type filtering to omit sending those types and/or features not present in the target type system. - To omit type filtering, use null for the target type system It also only sends those feature structures which are reachable either from an index or references from other reachable feature structures.static BinaryCasSerDes6.ReuseInfo
Serialization.serializeWithCompression
(CAS cas, Object out, TypeSystem tgtTypeSystem) Serialize in compressed binary with type filtering This method can use type filtering to omit sending those types and/or features not present in the target type system. - To omit type filtering, use null for the target type system It also only sends those feature structures which are reachable either from an index or references from other reachable feature structures.static void
Serialization.serializeWithCompression
(CAS cas, Object out, TypeSystem tgtTypeSystem, Marker mark, BinaryCasSerDes6.ReuseInfo reuseInfo) Delta Serialize in compressed form, with type filtering This method can use type filtering to omit sending those types and/or features not present in the target type system. - To omit type filtering, use null for the target type system It also only sends those feature structures which are reachable either from an index or references from other reachable feature structures.ModifierConstructorDescriptionSetup to serialize (not delta) or deserialize (not delta) using binary compression, no type mapping but only processing reachable Feature StructuresSetup to serialize (not delta) or deserialize (maybe delta) using binary compression, no type mapping and only processing reachable Feature StructuresBinaryCasSerDes6
(AbstractCas cas, BinaryCasSerDes6.ReuseInfo rfs, boolean storeTS, boolean storeTSI) Setup to serialize (not delta) or deserialize (maybe delta) using binary compression, no type mapping, optionally storing TSI, and only processing reachable Feature StructuresBinaryCasSerDes6
(AbstractCas cas, MarkerImpl mark, TypeSystemImpl tgtTs, BinaryCasSerDes6.ReuseInfo rfs) Setup to serialize (maybe delta) or deserialize (maybe delta) using binary compression, with type mapping and only processing reachable Feature StructuresBinaryCasSerDes6
(AbstractCas cas, MarkerImpl mark, TypeSystemImpl tgtTs, BinaryCasSerDes6.ReuseInfo rfs, boolean doMeasurements) Setup to serialize (maybe delta) or deserialize (maybe delta) using binary compression, with type mapping and only processing reachable Feature Structures, output measurementsBinaryCasSerDes6
(AbstractCas aCas, MarkerImpl mark, TypeSystemImpl tgtTs, BinaryCasSerDes6.ReuseInfo rfs, boolean doMeasurements, BinaryCasSerDes6.CompressLevel compressLevel, BinaryCasSerDes6.CompressStrat compressStrategy) Setup to serialize or deserialize using binary compression, with (optional) type mapping and only processing reachable Feature StructuresBinaryCasSerDes6
(AbstractCas cas, TypeSystemImpl tgtTs) Setup to serialize (not delta) or deserialize (not delta) using binary compression, with type mapping and only processing reachable Feature Structures -
Uses of ResourceInitializationException in org.apache.uima.collection
Modifier and TypeMethodDescriptionvoid
CasConsumer_ImplBase.initialize()
This method is called during initialization, and does nothing by default.boolean
CasConsumer_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Called by the framework to initialize this CAS Consumer.void
CasInitializer_ImplBase.initialize()
Deprecated.This method is called during initialization, and does nothing by default.boolean
CasInitializer_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Deprecated.Called by the framework to initialize this CAS Initializer.void
CollectionProcessingEngine.initialize
(CpeDescription aCpeDescription, Map<String, Object> aAdditionalParams) Initializes this CPE from acpeDescription
Applications do not need to call this method.void
CollectionReader_ImplBase.initialize()
This method is called during initialization, and does nothing by default.boolean
CollectionReader_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Called by the framework to initialize this Collection Reader.void
CollectionProcessingEngine.process()
Initiates processing of a collection.void
CollectionProcessingManager.process
(CollectionReader aCollectionReader) Initiates processing of a collection.void
CollectionProcessingManager.process
(CollectionReader aCollectionReader, int aBatchSize) Initiates processing of a collection.void
CasConsumer_ImplBase.typeSystemInit
(TypeSystem arg0) void
CasInitializer_ImplBase.typeSystemInit
(TypeSystem arg0) Deprecated.void
CasInitializer.typeSystemInit
(TypeSystem aTypeSystem) Deprecated.Informs this CasInitializer that the CAS TypeSystem has changed.void
CollectionReader_ImplBase.typeSystemInit
(TypeSystem aTypeSystem) Default implementation of typeSystemInit, which calls the CAS Initializer's typeSystemInit method if a CAS Initializer is present.void
CollectionReader.typeSystemInit
(TypeSystem aTypeSystem) Informs this CollectionReader that the CAS TypeSystem has changed. -
Uses of ResourceInitializationException in org.apache.uima.collection.base_cpm
Modifier and TypeMethodDescriptionvoid
CasDataCollectionReader_ImplBase.initialize()
This method is called during initialization, and does nothing by default.boolean
CasDataCollectionReader_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Called by the framework to initialize this Collection Reader.void
CasDataConsumer_ImplBase.initialize()
This method is called during initialization, and does nothing by default.boolean
CasDataConsumer_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Called by the framework to initialize this CAS Consumer.void
CasDataInitializer_ImplBase.initialize()
Deprecated.This method is called during initialization, and does nothing by default.boolean
CasDataInitializer_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Deprecated.Called by the framework to initialize this CAS Initializer.void
BaseCPM.process()
Initiates processing of a collection.void
CasObjectProcessor.typeSystemInit
(TypeSystem aTypeSystem) Informs this CasConsumer that the CAS TypeSystem has changed. -
Uses of ResourceInitializationException in org.apache.uima.collection.impl
Modifier and TypeMethodDescriptionvoid
CasConsumerDescription_impl.doFullValidation
(ResourceManager aResourceManager) void
CasInitializerDescription_impl.doFullValidation
(ResourceManager aResourceManager) Deprecated.void
CollectionReaderDescription_impl.doFullValidation
(ResourceManager aResourceManager) void
CollectionProcessingEngine_impl.initialize
(CpeDescription aCpeDescription, Map aAdditionalParams) void
CollectionProcessingEngine_impl.process()
-
Uses of ResourceInitializationException in org.apache.uima.collection.impl.cpm
Modifier and TypeMethodDescriptionvoid
BaseCPMImpl.process()
This method is called by an application to begin processing given Collection.void
BaseCPMImpl.process
(BaseCollectionReader aCollectionReader) Deprecated.void
BaseCPMImpl.process
(BaseCollectionReader aCollectionReader, int aBatchSize) Deprecated.void
CPMImpl.process
(CollectionReader aCollectionReader) void
CPMImpl.process
(CollectionReader aCollectionReader, int aBatchSize) -
Uses of ResourceInitializationException in org.apache.uima.collection.impl.cpm.container
Modifier and TypeMethodDescriptionvoid
Connects to a service endpoint defined in the given URL.boolean
ProcessingContainer_Impl.initialize
(ResourceSpecifier aSpecifier, Map aAdditionalParams) CPEFactory.produceCasDataConsumer
(Class aResourceClass, ResourceSpecifier aSpecifier, Map aAdditionalParams) Instantiates CasData Consumer from a given class.void
CasObjectNetworkCasProcessorImpl.typeSystemInit
(TypeSystem aTypeSystem) ModifierConstructorDescriptionCPEFactory
(CpeDescription aDescriptor, ResourceManager aResourceManager) Create a new CPEFactory for a CpeDescription that's already been parsed. -
Uses of ResourceInitializationException in org.apache.uima.collection.impl.cpm.engine
Modifier and TypeMethodDescriptionprotected void
CPECasPool.fillPool
(CasManager aCasManager, Properties aPerformanceTuningSettings) Fills the pool with initialized instances of CAS.ModifierConstructorDescriptionCPECasPool
(int aNumInstances, CasManager aCasManager) Initialize the pool.CPECasPool
(int aNumInstances, CasManager aCasManager, Properties aPerformanceTuningSettings) Initialize the pool. -
Uses of ResourceInitializationException in org.apache.uima.fit.component
Modifier and TypeMethodDescriptionvoid
ExternalResourceAware.afterResourcesInitialized()
Called after the external resources have been initialized.void
Resource_ImplBase.afterResourcesInitialized()
void
CasAnnotator_ImplBase.initialize
(UimaContext context) final void
CasCollectionReader_ImplBase.initialize()
void
CasCollectionReader_ImplBase.initialize
(UimaContext context) This method should be overwritten by subclasses.void
CasConsumer_ImplBase.initialize
(UimaContext context) void
CasDumpWriter.initialize
(UimaContext context) void
CasFlowController_ImplBase.initialize
(FlowControllerContext context) void
CasMultiplier_ImplBase.initialize
(UimaContext context) void
JCasAnnotator_ImplBase.initialize
(UimaContext context) final void
JCasCollectionReader_ImplBase.initialize()
void
JCasCollectionReader_ImplBase.initialize
(UimaContext context) This method should be overwritten by subclasses.void
JCasConsumer_ImplBase.initialize
(UimaContext context) void
JCasFlowController_ImplBase.initialize
(FlowControllerContext context) void
JCasMultiplier_ImplBase.initialize
(UimaContext context) boolean
Resource_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) -
Uses of ResourceInitializationException in org.apache.uima.fit.component.initialize
Modifier and TypeMethodDescriptionstatic void
ConfigurationParameterInitializer.initialize
(Object component, Object... aParameters) static void
ConfigurationParameterInitializer.initialize
(Object component, Map<String, Object> map) Initialize a component from a map.static void
ConfigurationParameterInitializer.initialize
(Object component, DataResource dataResource) Initialize a component from aResourceMetaData
.static void
ConfigurationParameterInitializer.initialize
(Object component, NameValuePair... parameters) Initialize a component from aResourceMetaData
.static void
ConfigurationParameterInitializer.initialize
(Object component, Parameter... parameters) Initialize a component from aCustomResourceSpecifier
.static void
ConfigurationParameterInitializer.initialize
(Object component, ResourceSpecifier spec) Initialize a component from aCustomResourceSpecifier
.static void
ConfigurationParameterInitializer.initialize
(Object component, UimaContext context) Initialize a component from anUimaContext
This code can be a little confusing because the configuration parameter annotations are used in two contexts: in describing the component and to initialize member variables from aUimaContext
.static <T> void
ExternalResourceInitializer.initialize
(T object, UimaContext context) Configure a component from the given context. -
Uses of ResourceInitializationException in org.apache.uima.fit.cpe
Modifier and TypeMethodDescriptionCpeBuilder.createCpe
(StatusCallbackListener aListener) static void
CpePipeline.runPipeline
(int parallelism, CollectionReaderDescription readerDesc, AnalysisEngineDescription... descs) Run the CollectionReader and AnalysisEngines as a multi-threaded pipeline.static void
CpePipeline.runPipeline
(CollectionReaderDescription readerDesc, AnalysisEngineDescription... descs) Run the CollectionReader and AnalysisEngines as a multi-threaded pipeline. -
Uses of ResourceInitializationException in org.apache.uima.fit.examples.experiment.pos
-
Uses of ResourceInitializationException in org.apache.uima.fit.examples.getstarted
-
Uses of ResourceInitializationException in org.apache.uima.fit.examples.resource
Modifier and TypeMethodDescriptionvoid
ExternalResourceExample.SharedModel.load
(DataResource aData) void
ExternalResourceExample2.SharedModel.load
(DataResource aData) -
Uses of ResourceInitializationException in org.apache.uima.fit.examples.tutorial.ex6
-
Uses of ResourceInitializationException in org.apache.uima.fit.factory
Modifier and TypeMethodDescriptionAggregateBuilder.createAggregate()
This method simply delegates toAnalysisEngineFactory.createEngine(List, TypeSystemDescription, TypePriorities, SofaMapping[], Object...)
with the data collected by this builder.static AnalysisEngine
AnalysisEngineFactory.createAggregate
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, Object... configurationData) static AnalysisEngine
AnalysisEngineFactory.createAggregate
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription, Object... configurationData) static AnalysisEngine
AnalysisEngineFactory.createAggregate
(List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames, TypePriorities typePriorities, SofaMapping[] sofaMappings) static AnalysisEngine
AnalysisEngineFactory.createAggregate
(List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription) static AnalysisEngine
AnalysisEngineFactory.createAggregate
(AnalysisEngineDescription desc) AggregateBuilder.createAggregateDescription()
This method simply delegates toAnalysisEngineFactory.createEngineDescription(List, TypeSystemDescription, TypePriorities, SofaMapping[], Object...)
with the data collected by this builder.static AnalysisEngineDescription
AnalysisEngineFactory.createAggregateDescription
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, Object... configurationData) static AnalysisEngineDescription
AnalysisEngineFactory.createAggregateDescription
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription, Object... configurationData) static AnalysisEngineDescription
AnalysisEngineFactory.createAggregateDescription
(List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription) static AnalysisEngineDescription
AnalysisEngineFactory.createAggregateDescription
(AnalysisEngineDescription... analysisEngineDescriptions) static AnalysisEngineDescription
AnalysisEngineFactory.createAggregateDescription
(FlowControllerDescription flowControllerDescription, AnalysisEngineDescription... analysisEngineDescriptions) static AnalysisEngine
AnalysisEngineFactory.createAnalysisEngine
(String descriptorName, Object... configurationData) Deprecated.static AnalysisEngine
AnalysisEngineFactory.createAnalysisEngine
(AnalysisEngineDescription analysisEngineDescription, String viewName) static AnalysisEngine
AnalysisEngineFactory.createAnalysisEngineFromPath
(String descriptorPath, Object... configurationData) Deprecated.static CAS
CasFactory.createCas()
Creates a newCAS
.static CAS
Creates a newCAS
from type system descriptor files found by name.static CAS
CasFactory.createCas
(String fileName, TypeSystemDescription typeSystemDescription) This method creates a new CAS and loads the contents of an XMI or XCAS file into it.static CAS
CasFactory.createCas
(TypeSystemDescription typeSystemDescription) Create a new CAS for the given type system description.static CAS
CasFactory.createCasFromPath
(String... typeSystemDescriptorPaths) Creates a new CAS from type system descriptor files.static CollectionReader
CollectionReaderFactory.createCollectionReader
(Class<? extends CollectionReader> readerClass, Object... configurationData) Deprecated.static CollectionReader
CollectionReaderFactory.createCollectionReader
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, Object... configurationData) static CollectionReader
CollectionReaderFactory.createCollectionReader
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, String[] prioritizedTypeNames, Object... configurationData) static CollectionReader
CollectionReaderFactory.createCollectionReader
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) static CollectionReader
CollectionReaderFactory.createCollectionReader
(String descriptorName, Object... configurationData) Deprecated.static CollectionReader
CollectionReaderFactory.createCollectionReader
(CollectionReaderDescription desc, Object... configurationData) static CollectionReader
CollectionReaderFactory.createCollectionReaderFromPath
(String descriptorPath, Object... configurationData) Deprecated.static CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, String[] prioritizedTypeNames, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues) static CollectionReaderDescription
CollectionReaderFactory.createDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) static AnalysisEngine
AnalysisEngineFactory.createEngine
(Class<? extends AnalysisComponent> componentClass, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngine
AnalysisEngineFactory.createEngine
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngine
AnalysisEngineFactory.createEngine
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, String[] typePriorities, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngine
AnalysisEngineFactory.createEngine
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngine
AnalysisEngineFactory.createEngine
(String descriptorName, Object... configurationData) Get an AnalysisEngine from the name (Java-style, dotted) of an XML descriptor file, and a set of configuration parameters.static AnalysisEngine
AnalysisEngineFactory.createEngine
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, Object... configurationData) Create and configure an aggregateAnalysisEngine
from several component classes.static AnalysisEngine
AnalysisEngineFactory.createEngine
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription, Object... configurationData) Create and configure an aggregateAnalysisEngine
from several component classes.static AnalysisEngine
AnalysisEngineFactory.createEngine
(List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames, TypePriorities typePriorities, SofaMapping[] sofaMappings) Create and configure an aggregateAnalysisEngine
from several component descriptions.static AnalysisEngine
AnalysisEngineFactory.createEngine
(List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription) Create and configure an aggregateAnalysisEngine
from several component descriptions.static AnalysisEngine
AnalysisEngineFactory.createEngine
(CasProcessor<? extends Exception> aCasAnnotator) Create an analysis engine from a processor function.static AnalysisEngine
AnalysisEngineFactory.createEngine
(JCasProcessor<? extends Exception> aJCasAnnotator) Create an analysis engine from a processor function.static AnalysisEngine
AnalysisEngineFactory.createEngine
(AnalysisEngineDescription desc, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngine
AnalysisEngineFactory.createEngine
(AnalysisEngineDescription analysisEngineDescription, String viewName) This method provides a convenient way to instantiate an AnalysisEngine where the default view is mapped to the view name passed into the method.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(Class<? extends AnalysisComponent> componentClass, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, Object... configurationData) Create and configure a primitiveAnalysisEngine
.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues) Create and configure a primitiveAnalysisEngine
.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) Create and configure a primitiveAnalysisEngine
.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, Object... configurationData) Create and configure an aggregateAnalysisEngine
from several component classes.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(List<Class<? extends AnalysisComponent>> componentClasses, TypeSystemDescription typeSystem, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription, Object... configurationData) Create and configure an aggregateAnalysisEngine
from several component classes.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(List<AnalysisEngineDescription> analysisEngineDescriptions, List<String> componentNames, TypePriorities typePriorities, SofaMapping[] sofaMappings, FlowControllerDescription flowControllerDescription) A factory method for creating an aggregate description.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(AnalysisEngineDescription... analysisEngineDescriptions) Create and configure an aggregateAnalysisEngine
from several component descriptions.static AnalysisEngineDescription
AnalysisEngineFactory.createEngineDescription
(FlowControllerDescription flowControllerDescription, AnalysisEngineDescription... analysisEngineDescriptions) A simplified factory method for creating an aggregate description for a given flow controller and a sequence of analysis engine descriptionsstatic AnalysisEngine
AnalysisEngineFactory.createEngineFromPath
(String descriptorPath, Object... configurationData) Get anAnalysisEngine
from an XML descriptor file and a set of configuration parameters.static FlowControllerDescription
FlowControllerFactory.createFlowControllerDescription
(Class<? extends FlowController> flowControllerClass, Object... configurationData) Creates a new FlowControllerDescription for a given class and configuration datastatic FlowControllerDescription
FlowControllerFactory.createFlowControllerDescription
(Class<? extends FlowController> flowControllerClass, ConfigurationParameter[] configurationParameters, Object[] configurationValues) static FlowControllerDescription
FlowControllerFactory.createFlowControllerDescription
(Class<? extends FlowController> flowControllerClass, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) Creates a new FlowControllerDescription for a given class and configuration parameters with valuesstatic FsIndexCollection
FsIndexFactory.createFsIndexCollection()
Creates aFsIndexCollection
from all index descriptions that can be found via the pattern specified in the system propertyorg.apache.uima.fit.fsindex.import_pattern
or via theMETA-INF/org.apache.uima.fit/fsindexes.txt
files in the classpath.static JCas
JCasFactory.createJCas()
Creates a newJCas
.static JCas
JCasFactory.createJCas
(String... typeSystemDescriptorNames) Creates a new JCas from type system descriptor files found by name.static JCas
JCasFactory.createJCas
(String fileName, TypeSystemDescription typeSystemDescription) This method creates a new JCas and loads the contents of an XMI or XCAS file into it.static JCas
JCasFactory.createJCas
(TypeSystemDescription typeSystemDescription) Create a new JCas for the given type system description.static JCas
JCasFactory.createJCasFromPath
(String... typeSystemDescriptorPaths) Creates a new JCas from type system descriptor files.static AnalysisEngine
AnalysisEngineFactory.createPrimitive
(Class<? extends AnalysisComponent> componentClass, Object... configurationData) Deprecated.static AnalysisEngine
AnalysisEngineFactory.createPrimitive
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, Object... configurationData) static AnalysisEngine
AnalysisEngineFactory.createPrimitive
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, String[] typePriorities, Object... configurationData) static AnalysisEngine
AnalysisEngineFactory.createPrimitive
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) static AnalysisEngine
AnalysisEngineFactory.createPrimitive
(AnalysisEngineDescription desc, Object... configurationData) static AnalysisEngineDescription
AnalysisEngineFactory.createPrimitiveDescription
(Class<? extends AnalysisComponent> componentClass, Object... configurationData) Deprecated.static AnalysisEngineDescription
AnalysisEngineFactory.createPrimitiveDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, Object... configurationData) static AnalysisEngineDescription
AnalysisEngineFactory.createPrimitiveDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) static AnalysisEngineDescription
AnalysisEngineFactory.createPrimitiveDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, Object... configurationData) static AnalysisEngineDescription
AnalysisEngineFactory.createPrimitiveDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues) static AnalysisEngineDescription
AnalysisEngineFactory.createPrimitiveDescription
(Class<? extends AnalysisComponent> componentClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) static CollectionReader
CollectionReaderFactory.createReader
(Class<? extends CollectionReader> readerClass, Object... configurationData) Get a CollectionReader from a CollectionReader class, a type system, and a set of configuration parameters.static CollectionReader
CollectionReaderFactory.createReader
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, Object... configurationData) Get a CollectionReader from a CollectionReader class, a type system, and a set of configuration parameters.static CollectionReader
CollectionReaderFactory.createReader
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, String[] prioritizedTypeNames, Object... configurationData) static CollectionReader
CollectionReaderFactory.createReader
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) static CollectionReader
CollectionReaderFactory.createReader
(String descriptorName, Object... configurationData) Get a CollectionReader from the name (Java-style, dotted) of an XML descriptor file, and a set of configuration parameters.static CollectionReader
CollectionReaderFactory.createReader
(CollectionReaderDescription desc, Object... configurationData) This method creates a CollectionReader from a CollectionReaderDescription adding additional configuration parameter data as desiredstatic CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, Object... configurationData) A simple factory method for creating a CollectionReaderDescription with a given class, type system description, and configuration data.static CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, Object... configurationData) A simple factory method for creating a CollectionReaderDescription with a given class, type system description, and configuration datastatic CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, String[] prioritizedTypeNames, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, Object... configurationData) static CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues) static CollectionReaderDescription
CollectionReaderFactory.createReaderDescription
(Class<? extends CollectionReader> readerClass, TypeSystemDescription typeSystem, TypePriorities typePriorities, FsIndexCollection indexes, Capability[] capabilities, ConfigurationParameter[] configurationParameters, Object[] configurationValues, Map<String, ExternalResourceDescription> externalResources) The factory method for creating CollectionReaderDescription objects for a given class, TypeSystemDescription, TypePriorities, capabilities, and configuration datastatic CollectionReader
CollectionReaderFactory.createReaderFromPath
(String descriptorPath, Object... configurationData) Create a CollectionReader from an XML descriptor file and a set of configuration parameters.static <R extends Resource>
RExternalResourceFactory.createResource
(Class<R> resourceClass, Object... params) Create an instance of a UIMA shared/external resource class.static <R extends Resource>
RExternalResourceFactory.createResource
(Class<R> resourceClass, ResourceManager resMgr, Object... params) Create an instance of a UIMA shared/external resource class.static ExternalResourceDependency[]
ExternalResourceFactory.createResourceDependencies
(Class<?> cls) static CAS
CasFactory.createText
(String aText) Creates a new CAS with the given text.static CAS
CasFactory.createText
(String aText, String aLanguage) Creates a new CAS with the given text and language.static JCas
JCasFactory.createText
(String aText) Creates a new JCas with the given text.static JCas
JCasFactory.createText
(String aText, String aLanguage) Creates a new JCas with the given text and language.static TypePriorities
TypePrioritiesFactory.createTypePriorities()
Creates aTypePriorities
from all type priorities descriptions that can be found via the pattern specified in the system propertyorg.apache.uima.fit.typepriorities.import_pattern
or via theMETA-INF/org.apache.uima.fit/typepriorities.txt
files in the classpath.static TypeSystemDescription
TypeSystemDescriptionFactory.createTypeSystemDescription()
Creates aTypeSystemDescription
from all type descriptions that can be found via the default import pattern or via theMETA-INF/org.apache.uima.fit/types.txt
files in the classpath.static UimaContext
UimaContextFactory.createUimaContext
(Object... configurationParameters) Create a new UimaContext with the given configuration parameters set.static String[]
FsIndexFactory.scanIndexDescriptors()
Get all currently accessible index descriptor locations.static String[]
TypeSystemDescriptionFactory.scanTypeDescriptors()
Get all currently accessible type system descriptor locations.static String[]
TypePrioritiesFactory.scanTypePrioritiesDescriptors()
Get all currently accessible type priorities descriptor locations. -
Uses of ResourceInitializationException in org.apache.uima.fit.factory.initializable
Modifier and TypeMethodDescriptionstatic <T> T
InitializableFactory.create
(UimaContext context, Class<? extends T> cls) static <T> T
InitializableFactory.create
(UimaContext context, String className, Class<T> superClass) Provides a way to create an instance of T.static <T> Class
<? extends T> void
Initializable.initialize
(UimaContext context) This method will be called automatically if the implementing class is instantiated with InitializableFactory.static void
InitializableFactory.initialize
(Object object, UimaContext context) -
Uses of ResourceInitializationException in org.apache.uima.fit.factory.locator
Modifier and TypeMethodDescriptionboolean
JndiResourceLocator.initialize
(ResourceSpecifier aSpecifier, Map aAdditionalParams) Deprecated. -
Uses of ResourceInitializationException in org.apache.uima.fit.internal
Modifier and TypeMethodDescriptionstatic AnalysisEngineDescription
DescriptionUtils.consolidate
(AnalysisEngineDescription aDesc) Consolidate duplicate information in the AE description.ResourceManagerFactory.DefaultResourceManagerCreator.newResourceManager()
static ResourceManager
ResourceManagerFactory.newResourceManager()
ResourceManagerFactory.ResourceManagerCreator.newResourceManager()
static String[]
Resolve a list of patterns to a set of URLs.static String[]
MetaDataUtil.scanDescriptors
(MetaDataType aType) Get all currently accessible descriptor locations for the given type.static String[]
MetaDataUtil.scanImportsAndManifests
(MetaDataType aType) Scan patterns from manifest files and from the specified system property.String[]
LegacySupportPlugin.scanTypeDescriptors
(MetaDataType aType) Get all currently accessible descriptor locations for the given type. -
Uses of ResourceInitializationException in org.apache.uima.fit.pipeline
Modifier and TypeMethodDescriptionstatic void
SimplePipeline.runPipeline
(CAS aCas, AnalysisEngineDescription... aDescs) Run a sequence ofanalysis engines
over aJCas
.static void
SimplePipeline.runPipeline
(CollectionReaderDescription readerDesc, AnalysisEngineDescription... descs) Run the CollectionReader and AnalysisEngines as a pipeline.static void
SimplePipeline.runPipeline
(CollectionReader reader, AnalysisEngine... engines) Provides a simple way to run a pipeline for a given collection reader and sequence of analysis engines.static void
SimplePipeline.runPipeline
(CollectionReader reader, AnalysisEngineDescription... descs) Run the CollectionReader and AnalysisEngines as a pipeline.static void
SimplePipeline.runPipeline
(JCas jCas, AnalysisEngineDescription... descs) Run a sequence ofanalysis engines
over aJCas
.static void
SimplePipeline.runPipeline
(ResourceManager aResMgr, CollectionReader reader, AnalysisEngine... engines) Provides a simple way to run a pipeline for a given collection reader and sequence of analysis engines.ModifierConstructorDescriptionJCasIterator
(CollectionReaderDescription aReader, AnalysisEngineDescription... aEngines) Iterate over the documents loaded by the given reader, running the analysis engines on each one before yielding them.JCasIterator
(CollectionReader aReader, AnalysisEngine... aEngines) Iterate over the documents loaded by the CollectionReader, running the AnalysisEngine on each one before yielding them.JCasIterator
(CollectionReader aReader, TypeSystemDescription aTypeSystemDescription) Iterate over the documents loaded by the CollectionReader.JCasIterator
(ResourceManager aResMgr, CollectionReaderDescription aReader, AnalysisEngineDescription... aEngines) Iterate over the documents loaded by the given reader, running the analysis engines on each one before yielding them.JCasIterator
(ResourceManager aResMgr, CollectionReader aReader, AnalysisEngine... aEngines) Iterate over the documents loaded by the CollectionReader, running the AnalysisEngine on each one before yielding them. -
Uses of ResourceInitializationException in org.apache.uima.fit.spring
Modifier and TypeMethodDescriptionvoid
SpringContextResourceManager.initializeExternalResources
(ResourceManagerConfiguration aConfiguration, String aQualifiedContextName, Map<String, Object> aAdditionalParams) -
Uses of ResourceInitializationException in org.apache.uima.fit.spring.factory
Modifier and TypeMethodDescriptionAnalysisEngineFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) CasConsumerFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) CasInitializerFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Deprecated.CollectionReaderFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) CustomResourceFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) -
Uses of ResourceInitializationException in org.apache.uima.fit.util
Modifier and TypeMethodDescriptionvoid
SimpleNamedResourceManager.initializeExternalResources
(ResourceManagerConfiguration aConfiguration, String aQualifiedContextName, Map<String, Object> aAdditionalParams) -
Uses of ResourceInitializationException in org.apache.uima.flow
Modifier and TypeMethodDescriptionvoid
FlowController_ImplBase.initialize
(FlowControllerContext aContext) void
FlowController.initialize
(FlowControllerContext aContext) Performs any startup tasks required by this component.void
FlowController_ImplBase.reconfigure()
void
FlowController.reconfigure()
Alerts this FlowController that the values of its configuration parameters or external resources have changed. -
Uses of ResourceInitializationException in org.apache.uima.flow.impl
Modifier and TypeMethodDescriptionvoid
FlowControllerDescription_impl.doFullValidation
(ResourceManager aResourceManager) void
CapabilityLanguageFlowController.initialize
(FlowControllerContext aContext) void
FixedFlowController.initialize
(FlowControllerContext aContext) -
Uses of ResourceInitializationException in org.apache.uima.impl
Modifier and TypeMethodDescriptionprotected CollectionProcessingEngine
UIMAFramework_impl._produceCollectionProcessingEngine
(CpeDescription aCpeDescription, Map<String, Object> aAdditionalParams) void
UimaContext_ImplBase.defineCasPool
(int aSize, Properties aPerformanceTuningSettings, boolean aSofaAware) AnalysisEngineFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) CasConsumerFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) CasInitializerFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Deprecated.CollectionReaderFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) CompositeResourceFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) CustomResourceFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) -
Uses of ResourceInitializationException in org.apache.uima.internal.util
Modifier and TypeMethodDescriptionprotected void
ResourcePool.fillPool
(ResourceSpecifier aResourceSpecifier, Class<? extends Resource> aResourceClass, Map<String, Object> aResourceInitParams) Utility method used in the constructor to fill the pool with Resource instances.ModifierConstructorDescriptionAnalysisEnginePool
(String aName, int aNumInstances, ResourceSpecifier aResourceSpecifier) Creates a new AnalysisEnginePool.AnalysisEnginePool
(String aName, int aNumInstances, ResourceSpecifier aResourceSpecifier, Map<String, Object> aResourceInitParams) Creates a new AnalysisEnginePool.ResourcePool
(int aNumInstances, ResourceSpecifier aResourceSpecifier, Class<? extends Resource> aResourceClass) Creates new ResourcePool_implResourcePool
(int aNumInstances, ResourceSpecifier aResourceSpecifier, Class<? extends Resource> aResourceClass, Map<String, Object> aResourceInitParams) Creates new ResourcePool_implTextAnalysisEnginePool
(String aName, int aNumInstances, ResourceSpecifier aResourceSpecifier) Deprecated.Creates a new TextAnalysisEnginePool.TextAnalysisEnginePool
(String aName, int aNumInstances, ResourceSpecifier aResourceSpecifier, Map<String, Object> aResourceInitParams) Deprecated.Creates a new TextAnalysisEnginePool. -
Uses of ResourceInitializationException in org.apache.uima.pear.tools
Modifier and TypeMethodDescriptionInstallationTester.doTest()
boolean
LocalInstallationAgent.verifyLocalizedComponent()
Performs verification of the localized component by running theInstallationTester
application.ModifierConstructorDescriptionInstallationTester
(PackageBrowser pkgBrowser) Creates new instance of theInstallationTester
class, identifies a specified component using UIMA API. -
Uses of ResourceInitializationException in org.apache.uima.resource
Modifier and TypeMethodDescriptionCasManager.createNewCas
(Properties aPerformanceTuningSettings) Create a new CAS using the CasDefinition stored in this CAS Manager.void
CasManager.defineCasPool
(String aRequestorContextName, int aMinimumSize, Properties aPerformanceTuningSettings) Defines a CAS pool within this CAS Manager.void
CasManager.defineCasPool
(UimaContextAdmin aRequestorContext, int aMinimumSize, Properties aPerformanceTuningSettings) Defines the CAS pool required by a particular AnalysisEngine.void
ResourceCreationSpecifier.doFullValidation()
Does full validation of thisResourceCreationSpecifier
.void
ResourceCreationSpecifier.doFullValidation
(ResourceManager aResourceManager) Does full validation of thisResourceCreationSpecifier
.CasManager.getCasDefinition()
Gets the CasDefinition, as defined by merging all of the metadata supplied by callsCasManager.addMetaData(ProcessingResourceMetaData)
.ParameterizedDataResource.getDataResource
(String... aParams) Gets aDataResource
object that can be used to access the data that is appropriate for the given parameter values.boolean
Resource_ImplBase.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) boolean
Resource.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Initializes thisResource
from aResourceSpecifier
.void
ResourceManager.initializeExternalResources
(ResourceManagerConfiguration aConfiguration, String aQualifiedContextName, Map<String, Object> aAdditionalParams) Initializes all external resources declared in a ResourceCreationSpecifier.void
SharedResourceObject.load
(DataResource aData) Called by theResourceManager
after this object has been instantiated.Class
<?> Resource_ImplBase.loadUserClassOrThrow
(String name, ResourceSpecifier aSpecifier) void
ResourceManager.resolveAndValidateResourceDependencies
(ExternalResourceDependency[] aDependencies, String aQualifiedContextName) Resolves a component's external resource dependencies (bindings) using this resource manager.void
ResourceCreationSpecifier.validate()
Checks that thisResourceCreationSpecifier
is valid.void
ResourceCreationSpecifier.validate
(ResourceManager aResourceManager) Checks that thisResourceCreationSpecifier
is valid.ModifierConstructorDescriptionCasDefinition
(Collection<? extends ProcessingResourceMetaData> aMetaDataToMerge, ResourceManager aResourceManager) -
Uses of ResourceInitializationException in org.apache.uima.resource.impl
Modifier and TypeMethodDescriptionprotected void
ResourceCreationSpecifier_impl.checkForDuplicateParameterNames
(ConfigurationParameter[] aParams) Checks for duplicate parameter names and throws an exception if any are found.protected void
ResourceCreationSpecifier_impl.checkForInvalidParameterOverrides
(ConfigurationParameter[] aParams, String aGroupName, ResourceManager aResourceManager) Checks parameter overrides and throws a ResourceInitializationException if they are invalid.CasManager_impl.createNewCas
(Properties aPerformanceTuningSettings) void
CasManager_impl.defineCasPool
(String aRequestorContextName, int aMinimumSize, Properties aPerformanceTuningSettings) void
CasManager_impl.defineCasPool
(UimaContextAdmin aRequestorContext, int aMinimumSize, Properties aPerformanceTuningSettings) void
ResourceCreationSpecifier_impl.doFullValidation()
void
ResourceCreationSpecifier_impl.doFullValidation
(ResourceManager aResourceManager) CasManager_impl.getCasDefinition()
FileLanguageResource_impl.getDataResource
(String[] aParams) boolean
ConfigurableDataResource_impl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Initializes this DataResource.boolean
DataResource_impl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Initializes this DataResource.boolean
FileLanguageResource_impl.initialize
(ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) void
ResourceManager_impl.initializeExternalResources
(ResourceManagerConfiguration aConfiguration, String aQualifiedContextName, Map<String, Object> aAdditionalParams) static Class
<?> ResourceManager_impl.loadUserClassOrThrow
(String name, ResourceManager rm, ResourceSpecifier aSpecifier) void
ResourceManager_impl.resolveAndValidateResourceDependencies
(ExternalResourceDependency[] aDependencies, String aQualifiedContextName) final void
ResourceCreationSpecifier_impl.validate()
Determines if the AnalysisEngineDescription is valid.void
ResourceCreationSpecifier_impl.validate
(ResourceManager aResourceManager) protected void
ResourceCreationSpecifier_impl.validateConfigurationParameters
(ResourceManager aResourceManager) Validates configuration parameters within this Resource, and throws an exception if they are not valid. -
Uses of ResourceInitializationException in org.apache.uima.resource.service.impl
Modifier and TypeMethodDescriptionvoid
ResourceService_impl.initialize
(ResourceSpecifier aResourceSpecifier, Map<String, Object> aResourceInitParams) Initializes this ResourceService_impl. -
Uses of ResourceInitializationException in org.apache.uima.taeconfigurator.editors
Modifier and TypeMethodDescriptionMultiPageEditor.createCas
(AnalysisEngineDescription aAeDescription, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates the cas.void
MultiPageEditor.setAeDescription
(AnalysisEngineDescription aAnalysisEngineDescription) Sets the ae description.void
MultiPageEditor.setMergedFsIndexCollection()
Sets the merged fs index collection.void
MultiPageEditor.setMergedTypePriorities()
Sets the merged type priorities.void
MultiPageEditor.setMergedTypeSystemDescription()
Sets the merged type system description.void
MultiPageEditor.setTypeSystemDescription
(TypeSystemDescription typeSystemDescription) Sets the type system description. -
Uses of ResourceInitializationException in org.apache.uima.taeconfigurator.model
-
Uses of ResourceInitializationException in org.apache.uima.test.junit_extension
Modifier and TypeMethodDescriptionvoid
AnnotatorTester.changeDelegateParameterSetting
(String delegeteKey, String groupName, String paramName, Object paramValue) Deprecated.change the parameter name for the given delegate analysis engine key.void
AnnotationWriter.initialize()
Deprecated.Initializes this CAS Consumer with the parameters specified in the descriptor. -
Uses of ResourceInitializationException in org.apache.uima.tools
-
Uses of ResourceInitializationException in org.apache.uima.tools.components
Modifier and TypeMethodDescriptionvoid
FileSystemCollectionReader.initialize()
void
InlineXmlCasConsumer.initialize()
void
XCasWriterCasConsumer.initialize()
void
XmiWriterCasConsumer.initialize()
void
XmlDetagger.initialize
(UimaContext aContext) -
Uses of ResourceInitializationException in org.apache.uima.tools.docanalyzer
Modifier and TypeMethodDescriptionprotected CAS
DocumentAnalyzer.createCasFromDescriptor
(String aDescriptorFile) Creates a CAS from an descriptor.protected AnalysisEngineDescription
AnnotationViewerDialog.promptForAE()
If the current AE filename is not know ask for it. -
Uses of ResourceInitializationException in org.apache.uima.uimacpp
-
Uses of ResourceInitializationException in org.apache.uima.util
Modifier and TypeMethodDescriptionstatic CAS
CasCreationUtils.createCas()
Creates a new CAS instance.static CAS
CasCreationUtils.createCas
(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData) Creates a new CAS instance for a collection of CAS Processors.static CAS
CasCreationUtils.createCas
(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, Properties aPerformanceTuningSettings) Creates a new CAS instance for a collection of CAS Processors.static CAS
CasCreationUtils.createCas
(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance for a collection of CAS Processors.static CAS
CasCreationUtils.createCas
(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, TypeSystem aTypeSystem, Properties aPerformanceTuningSettings) Creates a new CAS instance for a collection of CAS Processors, which. reuses an existing type system.static CAS
CasCreationUtils.createCas
(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, TypeSystem aTypeSystem, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance for a collection of CAS Processors, which. reuses an existing type system.static CAS
CasCreationUtils.createCas
(AnalysisEngineDescription aDescription) Creates a new CAS instance for an Analysis Engine.static CAS
CasCreationUtils.createCas
(AnalysisEngineDescription aDescription, Properties aPerformanceTuningSettings) Creates a new CAS instance for an Analysis Engine.static CAS
CasCreationUtils.createCas
(AnalysisEngineMetaData aMetaData) Creates a new CAS instance.static CAS
CasCreationUtils.createCas
(TypeSystem aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, Properties aPerformanceTuningSettings) Creates a new CAS instance that reuses an existing type system.static CAS
CasCreationUtils.createCas
(TypeSystem aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance that reuses an existing type system.static CAS
CasCreationUtils.createCas
(CasDefinition casDef, Properties performanceTuningSettings) Create a CAS from a CAS Definition.static CAS
CasCreationUtils.createCas
(CasDefinition casDef, Properties performanceTuningSettings, TypeSystem typeSystem) Create a CAS from a CAS Definition, but reuse the provided TypeSystem object.static CAS
CasCreationUtils.createCas
(ProcessingResourceMetaData aMetaData) Creates a new CAS instance.static CAS
CasCreationUtils.createCas
(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes) Creates a new CAS instance.static CAS
CasCreationUtils.createCas
(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, Properties aPerformanceTuningSettings) Creates a new CAS instance.static CAS
CasCreationUtils.createCas
(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance.protected void
JCasPool.fillPool
(ProcessingResourceMetaData aMetaData) Utility method used in the constructor to fill the pool with CAS instances.static List
<ProcessingResourceMetaData> CasCreationUtils.getMetaDataList
(Collection<? extends MetaDataObject> aComponentDescriptionOrMetaData, ResourceManager aResourceManager) Gets a list of ProcessingResourceMetadata objects from a list containing either ResourceSpecifiers, ProcessingResourceMetadata objects, or subparts of ProcessingResourceMetadata objects (type systems, indexes, or type priorities).static List
<ProcessingResourceMetaData> CasCreationUtils.getMetaDataList
(Collection<? extends MetaDataObject> aComponentDescriptionOrMetaData, ResourceManager aResourceManager, Map<String, ? super Exception> aOutputFailedRemotes) Gets a list of ProcessingResourceMetadata objects from a list containing either ResourceSpecifiers, ProcessingResourceMetadata objects, or subparts of ProcessingResourceMetadata objects (type systems, indexes, or type priorities).static FsIndexCollection
CasCreationUtils.mergeDelegateAnalysisEngineFsIndexCollections
(AnalysisEngineDescription aAggregateDescription) Merges the FS Index Collections of each component within an aggregate Analysis Engine, producing a single combined FS Index Collection.static FsIndexCollection
CasCreationUtils.mergeDelegateAnalysisEngineFsIndexCollections
(AnalysisEngineDescription aAggregateDescription, ResourceManager aResourceManager) Merges the FS Index Collections of each component within an aggregate Analysis Engine, producing a single combined FS Index Collection.static ProcessingResourceMetaData
CasCreationUtils.mergeDelegateAnalysisEngineMetaData
(AnalysisEngineDescription aAggregateDescription, ResourceManager aResourceManager, Map<String, Set<String>> aOutputMergedTypes, Map<String, ? super Exception> aOutputFailedRemotes) Merges the Type Systems, Type Priorities, and FS Indexes of each component within an aggregate Analysis Engine.static TypePriorities
CasCreationUtils.mergeDelegateAnalysisEngineTypePriorities
(AnalysisEngineDescription aAggregateDescription) Merges the Type Priorities of each component within an aggregate Analysis Engine, producing a single combined TypePriorities object.static TypePriorities
CasCreationUtils.mergeDelegateAnalysisEngineTypePriorities
(AnalysisEngineDescription aAggregateDescription, ResourceManager aResourceManager) Merges the Type Priorities of each component within an aggregate Analysis Engine, producing a single combined TypePriorities object.static TypeSystemDescription
CasCreationUtils.mergeDelegateAnalysisEngineTypeSystems
(AnalysisEngineDescription aAggregateDescription) Merges the Type Systems of each component within an aggregate Analysis Engine, producing a single combined Type System.static TypeSystemDescription
CasCreationUtils.mergeDelegateAnalysisEngineTypeSystems
(AnalysisEngineDescription aAggregateDescription, ResourceManager aResourceManager) Merges the Type Systems of each component within an aggregate Analysis Engine, producing a single combined Type System.static TypeSystemDescription
CasCreationUtils.mergeDelegateAnalysisEngineTypeSystems
(AnalysisEngineDescription aAggregateDescription, ResourceManager aResourceManager, Map<String, Set<String>> aOutputMergedTypes) Merges the Type Systems of each component within an aggregate Analysis Engine, producing a single combined Type System.protected static void
CasCreationUtils.mergeFeatures
(TypeDescription aType, FeatureDescription[] aFeatures) Merges features into a TypeDescription.static FsIndexCollection
CasCreationUtils.mergeFsIndexes
(List<? extends FsIndexCollection> aFsIndexCollections, ResourceManager aResourceManager) Merges a List of FsIndexCollections into a single FsIndexCollection object.static TypePriorities
CasCreationUtils.mergeTypePriorities
(List<? extends TypePriorities> aTypePriorities, ResourceManager aResourceManager) Merges a List of TypePriorities into a single TypePriorities object.static TypeSystemDescription
CasCreationUtils.mergeTypeSystems
(Collection<? extends TypeSystemDescription> aTypeSystems) Merges several TypeSystemDescriptions into one.static TypeSystemDescription
CasCreationUtils.mergeTypeSystems
(Collection<? extends TypeSystemDescription> aTypeSystems, ResourceManager aResourceManager) Merges several TypeSystemDescriptions into one.static TypeSystemDescription
CasCreationUtils.mergeTypeSystems
(Collection<? extends TypeSystemDescription> aTypeSystems, ResourceManager aResourceManager, Map<String, Set<String>> aOutputMergedTypes) Merges several TypeSystemDescriptions into one.SimpleResourceFactory.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces an appropriateResource
instance from aResourceSpecifier
.static void
CasCreationUtils.setupIndexes
(CASMgr aCASMgr, FsIndexDescription[] aIndexes) Adds FeatureStructure indexes to a CAS.static void
CasCreationUtils.setupTypePriorities
(CASMgr aCASMgr, TypePriorities aTypePriorities) Adds TypePriorities to a CAS.static void
CasCreationUtils.setupTypeSystem
(CASMgr aCASMgr, TypeSystemDescription aTypeSystem) Installs a TypeSystem in a CAS.ModifierConstructorDescriptionCasPool
(int aNumInstances, Collection<? extends ProcessingResourceMetaData> aCollectionOfProcessingResourceMetaData, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CasPoolCasPool
(int aNumInstances, AnalysisEngine aAnalysisEngine) Creates a new CasPoolCasPool
(int aNumInstances, CasDefinition aCasDefinition, Properties aPerformanceTuningSettings) Creates a new CasPool.CasPool
(int aNumInstances, CasManager aCasManager, Properties aPerformanceTuningSettings) Creates a new CasPoolCasPool
(int aNumInstances, ProcessingResourceMetaData aMetaData) Creates a new CasPoolCasPool
(int aNumInstances, ProcessingResourceMetaData aMetaData, ResourceManager aResourceManager) Creates a new CasPoolJCasPool
(int aNumInstances, AnalysisEngine aAnalysisEngine) Creates a new JCasPoolJCasPool
(int aNumInstances, TextAnalysisEngine aTextAnalysisEngine) Deprecated.As of v2.0, TextAnalysisEngine has been deprecated.JCasPool
(int aNumInstances, ProcessingResourceMetaData aMetaData) Creates a new JCasPool