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.
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.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.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.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.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.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) -
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.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.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.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.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