Package | Description |
---|---|
org.apache.uima |
The main package for the Unstructured Information Management Middleware
Architecture.
|
org.apache.uima.analysis_engine |
The Analysis Engine interface, along with supporting
interfaces and exception classes.
|
org.apache.uima.analysis_engine.metadata |
Interfaces for objects that represent metadata for an
Analysis Engine.
|
org.apache.uima.collection.metadata |
Java object representation of a CPE Descriptor.
|
org.apache.uima.resource |
Interfaces for
Resources and ResourceSpecifiers . |
org.apache.uima.resource.metadata |
Interfaces for objects that represent metadata for a
Resource.
|
org.apache.uima.util |
Utility classes and interfaces used by UIMA components.
|
Modifier and Type | Field and Description |
---|---|
static ThreadLocal<ResourceManager> |
UIMAFramework.newContextResourceManager |
Modifier and Type | Method and Description |
---|---|
protected abstract ResourceManager |
UIMAFramework._newDefaultResourceManager()
To be implemented by subclasses; this should return a new instance of the default
ResourceManager used by this implementation. |
protected abstract ResourceManager |
UIMAFramework._newDefaultResourceManagerPearWrapper()
To be implemented by subclasses; this should return a new instance of the default
ResourceManagerPearWrapper used by this implementation. |
ResourceManager |
UimaContextAdmin.getResourceManager()
Gets the ResourceManager instance used by this UimaContext to resolve external resource
accesses.
|
static ResourceManager |
UIMAFramework.newDefaultResourceManager()
Gets a new instance of the default
ResourceManager used by this implementation. |
static ResourceManager |
UIMAFramework.newDefaultResourceManagerPearWrapper()
Gets a new instance of the default
ResourceManagerPearWrapper used by this implementation. |
Modifier and Type | Method and Description |
---|---|
protected abstract CollectionProcessingManager |
UIMAFramework._newCollectionProcessingManager(ResourceManager aResourceManager)
To be implemented by subclasses; this should create a new instance of a class implementing
CollectionProcessingManager . |
void |
UimaContextAdmin.initializeRoot(Logger aLogger,
ResourceManager aResourceManager,
ConfigurationManager aConfigurationManager)
Initializes a root UimaContext.
|
static CollectionProcessingManager |
UIMAFramework.newCollectionProcessingManager(ResourceManager aResourceManager)
Creates a new
CollectionProcessingManager instance. |
static UimaContextAdmin |
UIMAFramework.newUimaContext(Logger aLogger,
ResourceManager aResourceManager,
ConfigurationManager aConfigManager)
Gets a new instance of a
UimaContext . |
static AnalysisEngine |
UIMAFramework.produceAnalysisEngine(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
AnalysisEngine instance from a ResourceSpecifier . |
static CasConsumer |
UIMAFramework.produceCasConsumer(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
CasConsumer instance from a ResourceSpecifier . |
static CasInitializer |
UIMAFramework.produceCasInitializer(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
CasInitializer instance from a ResourceSpecifier . |
static CollectionProcessingEngine |
UIMAFramework.produceCollectionProcessingEngine(CpeDescription aCpeDescription,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces a
CollectionProcessingEngine instance from a cpeDescription . |
static CollectionReader |
UIMAFramework.produceCollectionReader(ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an
CollectionReader instance from a ResourceSpecifier . |
static Resource |
UIMAFramework.produceResource(Class<? extends Resource> aResourceClass,
ResourceSpecifier aSpecifier,
ResourceManager aResourceManager,
Map<String,Object> aAdditionalParams)
Produces an appropriate
Resource instance of a specified class from a
ResourceSpecifier . |
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. |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
AnalysisEngine.getResourceManager()
Gets the
ResourceManager used by this AnalysisEngine. |
Modifier and Type | Method and Description |
---|---|
void |
AnalysisEngineDescription.doFullValidation(ResourceManager aResourceManager)
Does full validation of this Analysis Engine Description.
|
Map<String,ResourceSpecifier> |
AnalysisEngineDescription.getAllComponentSpecifiers(ResourceManager aResourceManager)
For an aggregate AnalysisEngine only, gets the ResourceSpecifiers of all components in this
aggregate.
|
Map<String,ResourceSpecifier> |
AnalysisEngineDescription.getDelegateAnalysisEngineSpecifiers(ResourceManager aResourceManager)
For an aggregate AnalysisEngine only, retrieves a collection of
ResourceSpecifier s
that indicate which delegate AnalysisEngines comprise the aggregate. |
void |
AnalysisEngineDescription.resolveImports(Collection<String> aAlreadyImportedDelegateAeUrls,
ResourceManager aResourceManager)
Resolves all import declarations in this AnalysisEngineDescription.
|
void |
AnalysisEngineDescription.resolveImports(ResourceManager aResourceManager)
Resolves all import declarations in this AnalysisEngineDescription.
|
Modifier and Type | Method and Description |
---|---|
void |
FlowControllerDeclaration.resolveImports(ResourceManager aResourceManager)
Resolves an imported FlowController specifier, if there is one.
|
Modifier and Type | Method and Description |
---|---|
URL |
CpeComponentDescriptor.findAbsoluteUrl(ResourceManager aResourceManager)
Returns the absolute URL where the component descriptor is located.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ResourceManagerPearWrapper
A
ResourceManagerPearWrapper is a
special Resource Manager, sharing all its fields with its parent,
except for the class path and data path fields. |
Modifier and Type | Method and Description |
---|---|
ResourceManager |
CasDefinition.getResourceManager() |
ResourceManager |
Resource.getResourceManager()
Gets the
ResourceManager that this Resource uses to locate other Resources. |
ResourceManager |
Resource_ImplBase.getResourceManager() |
Modifier and Type | Method and Description |
---|---|
void |
ResourceCreationSpecifier.doFullValidation(ResourceManager aResourceManager)
Does full validation of this
ResourceCreationSpecifier . |
void |
ResourceManagerPearWrapper.initializeFromParentResourceManager(ResourceManager resourceManager)
Pear Wrapper Resource Managers share all their values with their parent,
except for the 2 values used to store the Classpath and Datapath.
|
void |
CasDefinition.setResourceManager(ResourceManager resourceManager) |
void |
ResourceCreationSpecifier.validate(ResourceManager aResourceManager)
Checks that this
ResourceCreationSpecifier is valid. |
Constructor and Description |
---|
CasDefinition(Collection<? extends ProcessingResourceMetaData> aMetaDataToMerge,
ResourceManager aResourceManager) |
CasDefinition(TypeSystemDescription aTypeSystem,
TypePriorities aTypePriorities,
FsIndexDescription[] aFsIndexes,
ResourceManager aResourceManager,
Properties aPerformanceTuningSettings) |
Modifier and Type | Method and Description |
---|---|
URL |
Import.findAbsoluteUrl(ResourceManager aResourceManager)
Computes the absolute URL for this import, using the relative location or name, whichever is
specified by this import object.
|
void |
FsIndexCollection.resolveImports(Collection<String> aAlreadyImportedFsIndexCollectionURLs,
ResourceManager aResourceManager)
Resolves any import declarations in this FS Index Collection, adding the imported
FsIndexDescriptions directly onto this FsIndexCollection's
fsIndexes
list. |
void |
ResourceManagerConfiguration.resolveImports(Collection<String> aAlreadyImportedURLs,
ResourceManager aResourceManager)
Resolves any import declarations in this resource manager configuration, adding the imported
external resources and external resource bindings directly onto this
ResourceManagerConfiguration's
externalResources and
externalResourceBindings lists. |
void |
TypePriorities.resolveImports(Collection<String> aAlreadyImportedPriorityListURLs,
ResourceManager aResourceManager)
Resolves any import declarations in this Type Priorities declaration, adding the imported
TypePriorityList objects directly onto this TypePriorities object's
priorityLists . |
void |
TypeSystemDescription.resolveImports(Collection<String> aAlreadyImportedTypeSystemURLs,
ResourceManager aResourceManager)
Resolves any import declarations in this type system, adding the imported types directly onto
this TypeSystemDescription's
types list. |
void |
FsIndexCollection.resolveImports(ResourceManager aResourceManager)
Resolves any import declarations in this FS Index Collection, adding the imported
FsIndexDescriptions directly onto this FsIndexCollection's
fsIndexes
list. |
void |
ProcessingResourceMetaData.resolveImports(ResourceManager aResourceManager)
Resolves any import declarations.
|
void |
ResourceManagerConfiguration.resolveImports(ResourceManager aResourceManager)
Resolves any import declarations in this resource manager configuration, adding the imported
external resources and external resource bindings directly onto this
ResourceManagerConfiguration's
externalResources and
externalResourceBindings lists. |
void |
ResourceMetaData.resolveImports(ResourceManager aResourceManager)
Resolves any import declarations throughout this metadata.
|
void |
TypePriorities.resolveImports(ResourceManager aResourceManager)
Resolves any import declarations in this Type Priorities declaration, adding the imported
TypePriorityList objects directly onto this TypePriorities object's
priorityLists . |
void |
TypeSystemDescription.resolveImports(ResourceManager aResourceManager)
Resolves any import declarations in this type system, adding the imported types directly onto
this TypeSystemDescription's
types list. |
Modifier and Type | Method and Description |
---|---|
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,
ResourceManager aResourceManager)
Creates a new CAS instance for a collection of CAS Processors, which.
|
static CAS |
CasCreationUtils.createCas(TypeSystemDescription aTypeSystem,
TypePriorities aTypePriorities,
FsIndexDescription[] aFsIndexes,
Properties aPerformanceTuningSettings,
ResourceManager aResourceManager)
Creates a new CAS instance.
|
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 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,
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,
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,
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.
|
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,
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.
|
void |
Logger.setResourceManager(ResourceManager resourceManager)
Sets the ResourceManager to use for message localization.
|
Constructor and Description |
---|
CasPool(int aNumInstances,
Collection<? extends ProcessingResourceMetaData> aCollectionOfProcessingResourceMetaData,
Properties aPerformanceTuningSettings,
ResourceManager aResourceManager)
Creates a new CasPool
|
CasPool(int aNumInstances,
ProcessingResourceMetaData aMetaData,
ResourceManager aResourceManager)
Creates a new CasPool
|
Copyright © 2006–2015 The Apache Software Foundation. All rights reserved.