Uses of Interface
org.apache.uima.resource.ResourceManager
Packages that use ResourceManager
Package
Description
Apache UIMA
The Analysis Engine interface, along with supporting interfaces and exception classes.
Interfaces for objects that represent metadata for an Analysis Engine.
Java object representation of a CPE Descriptor.
Factories to create different kinds of UIMA resource specifiers.
INTERNAL API - May change without further notice.
Executing UIMA pipelines.
Apache UIMA internals
Interfaces for
Resources
and ResourceSpecifiers
.Interfaces for objects that represent metadata for a Resource.
Describes the format of the generated JCas cover classes for UIMA Version 3.
Utility classes and interfaces used by UIMA components.
-
Uses of ResourceManager in org.apache.uima
Fields in org.apache.uima with type parameters of type ResourceManagerModifier and TypeFieldDescriptionstatic final ThreadLocal
<ResourceManager> UIMAFramework.newContextResourceManager
Methods in org.apache.uima that return ResourceManagerModifier and TypeMethodDescriptionprotected abstract ResourceManager
UIMAFramework._newDefaultResourceManager()
To be implemented by subclasses; this should return a new instance of the defaultResourceManager
used by this implementation.protected abstract ResourceManager
UIMAFramework._newDefaultResourceManagerPearWrapper()
To be implemented by subclasses; this should return a new instance of the defaultResourceManagerPearWrapper
used by this implementation.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 defaultResourceManager
used by this implementation.static ResourceManager
UIMAFramework.newDefaultResourceManagerPearWrapper()
Gets a new instance of the defaultResourceManagerPearWrapper
used by this implementation.Methods in org.apache.uima with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected abstract CollectionProcessingManager
UIMAFramework._newCollectionProcessingManager
(ResourceManager aResourceManager) To be implemented by subclasses; this should create a new instance of a class implementingCollectionProcessingManager
.void
UimaContextAdmin.initializeRoot
(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigurationManager) Deprecated.static CollectionProcessingManager
UIMAFramework.newCollectionProcessingManager
(ResourceManager aResourceManager) Creates a newCollectionProcessingManager
instance.static UimaContextAdmin
UIMAFramework.newUimaContext
(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigManager) Deprecated.UseUIMAFramework.newUimaContext()
orUIMAFramework.uimaContextBuilder()
instead.static AnalysisEngine
UIMAFramework.produceAnalysisEngine
(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anAnalysisEngine
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, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCasInitializer
instance from aResourceSpecifier
.static CollectionProcessingEngine
UIMAFramework.produceCollectionProcessingEngine
(CpeDescription aCpeDescription, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces aCollectionProcessingEngine
instance from acpeDescription
.static CollectionReader
UIMAFramework.produceCollectionReader
(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCollectionReader
instance 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 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.UimaContextAdminBuilder.withResourceManager
(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.analysis_engine
Methods in org.apache.uima.analysis_engine that return ResourceManagerModifier and TypeMethodDescriptionAnalysisEngine.getResourceManager()
Gets theResourceManager
used by this AnalysisEngine.Methods in org.apache.uima.analysis_engine with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
AnalysisEngineDescription.doFullValidation
(ResourceManager aResourceManager) Does full validation of this Analysis Engine Description.AnalysisEngineDescription.getAllComponentSpecifiers
(ResourceManager aResourceManager) For an aggregate AnalysisEngine only, gets the ResourceSpecifiers of all components in this aggregate.AnalysisEngineDescription.getDelegateAnalysisEngineSpecifiers
(ResourceManager aResourceManager) For an aggregate AnalysisEngine only, retrieves a collection ofResourceSpecifier
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. -
Uses of ResourceManager in org.apache.uima.analysis_engine.impl
Methods in org.apache.uima.analysis_engine.impl that return types with arguments of type ResourceManagerModifier and TypeMethodDescriptionPearAnalysisEngineWrapper.getCachedResourceManagers()
PearAnalysisEngineWrapper.getCachedResourceManagers()
Methods in org.apache.uima.analysis_engine.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected 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
(ResourceManager aResourceManager) AnalysisEngineDescription_impl.getAllComponentSpecifiers
(ResourceManager aResourceManager) AnalysisEngineDescription_impl.getDelegateAnalysisEngineSpecifiers
(ResourceManager aResourceManager) protected void
AnalysisEngineDescription_impl.resolveDelegateAnalysisEngineImports
(Collection<String> aEnclosingAggregateAeUrls, ResourceManager aResourceManager, boolean aRecursive) Resolves imports of delegate Analysis Engines.protected void
AnalysisEngineDescription_impl.resolveDelegateAnalysisEngineImports
(ResourceManager aResourceManager, boolean aRecursive) Resolves imports of delegate Analysis Engines.void
AnalysisEngineDescription_impl.resolveImports
(Collection<String> aAlreadyImportedDelegateAeUrls, ResourceManager aResourceManager) void
AnalysisEngineDescription_impl.resolveImports
(ResourceManager aResourceManager) void
AnalysisEngineDescription_impl.validate
(ResourceManager aResourceManager) Determines if the AnalysisEngineDescription is valid. -
Uses of ResourceManager in org.apache.uima.analysis_engine.metadata
Methods in org.apache.uima.analysis_engine.metadata with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
FlowControllerDeclaration.resolveImports
(ResourceManager aResourceManager) Resolves an imported FlowController specifier, if there is one. -
Uses of ResourceManager in org.apache.uima.analysis_engine.metadata.impl
Methods in org.apache.uima.analysis_engine.metadata.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
AnalysisEngineMetaData_impl.resolveImports
(ResourceManager aResourceManager) void
FlowControllerDeclaration_impl.resolveImports
(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.collection.impl
Methods in org.apache.uima.collection.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
CasConsumerDescription_impl.doFullValidation
(ResourceManager aResourceManager) void
CasInitializerDescription_impl.doFullValidation
(ResourceManager aResourceManager) Deprecated.void
CollectionReaderDescription_impl.doFullValidation
(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.collection.impl.cpm
Constructors in org.apache.uima.collection.impl.cpm with parameters of type ResourceManagerModifierConstructorDescriptionBaseCPMImpl
(Boolean mode, String aDescriptor, ResourceManager aResourceManager) Parses CPE descriptor.BaseCPMImpl
(CpeDescription aDescriptor, ResourceManager aResourceManager, boolean aDefaultProcessTrace, Properties aProps) Instantiates and initializes CPE Factory responsible for creating individual components that are part of the processing pipeline.CPMImpl
(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.collection.impl.cpm.container
Methods in org.apache.uima.collection.impl.cpm.container that return ResourceManagerModifier and TypeMethodDescriptionCPEFactory.getResourceManager()
Gets the ResourceManager that all components of this CPE should share.Constructors in org.apache.uima.collection.impl.cpm.container with parameters of type ResourceManagerModifierConstructorDescriptionCasProcessorConfigurationJAXBImpl
(CpeCasProcessor aCasProcessorConfig, ResourceManager aResourceManager) Initializes instance and copies configuration from CPE descriptor.CPEFactory
(CpeDescription aDescriptor, ResourceManager aResourceManager) Create a new CPEFactory for a CpeDescription that's already been parsed.CPEFactory
(ResourceManager aResourceManager) Create a new CPEFactory on which we will later call parse(String) to parse a CPE descriptor. -
Uses of ResourceManager in org.apache.uima.collection.impl.cpm.container.deployer
Methods in org.apache.uima.collection.impl.cpm.container.deployer with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic String
DeployFactory.getProtocol
(CpeCasProcessor aCasProcessorConfig, ResourceManager aResourceManager) Retrieve protocol from the service descriptor -
Uses of ResourceManager in org.apache.uima.collection.impl.metadata.cpe
Methods in org.apache.uima.collection.impl.metadata.cpe with parameters of type ResourceManagerModifier and TypeMethodDescriptionCpeComponentDescriptorImpl.findAbsoluteUrl
(ResourceManager aResourceManager) Find absolute url. -
Uses of ResourceManager in org.apache.uima.collection.metadata
Methods in org.apache.uima.collection.metadata with parameters of type ResourceManagerModifier and TypeMethodDescriptionCpeComponentDescriptor.findAbsoluteUrl
(ResourceManager aResourceManager) Returns the absolute URL where the component descriptor is located. -
Uses of ResourceManager in org.apache.uima.fit.factory
Methods in org.apache.uima.fit.factory with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic <R extends Resource>
RExternalResourceFactory.createResource
(Class<R> resourceClass, ResourceManager resMgr, Object... params) Create an instance of a UIMA shared/external resource class. -
Uses of ResourceManager in org.apache.uima.fit.internal
Methods in org.apache.uima.fit.internal that return ResourceManagerModifier and TypeMethodDescriptionResourceManagerFactory.DefaultResourceManagerCreator.newResourceManager()
static ResourceManager
ResourceManagerFactory.newResourceManager()
ResourceManagerFactory.ResourceManagerCreator.newResourceManager()
Methods in org.apache.uima.fit.internal with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic ClassLoader
ClassLoaderUtils.findClassloader
(ResourceManager aResMgr) Deprecated.Looks up a suitable classloader in the following order: The extension classloader of the givenResourceManager
SeeClassLoaderUtils.findClassloader()
-
Uses of ResourceManager in org.apache.uima.fit.pipeline
Methods in org.apache.uima.fit.pipeline with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic 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.Constructors in org.apache.uima.fit.pipeline with parameters of type ResourceManagerModifierConstructorDescriptionJCasIterable
(ResourceManager aResMgr, CollectionReaderDescription aReader, AnalysisEngineDescription... aEngines) Iterate over the documents loaded by the collection reader, running the analysis engines on each one before yielding them.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 ResourceManager in org.apache.uima.fit.spring
Classes in org.apache.uima.fit.spring that implement ResourceManagerModifier and TypeClassDescriptionclass
Allowing UIMA components to access beans from acontext
. -
Uses of ResourceManager in org.apache.uima.fit.util
Classes in org.apache.uima.fit.util that implement ResourceManagerMethods in org.apache.uima.fit.util with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic void
LifeCycleUtil.destroy
(ResourceManager aResMgr) Destroy a set ofresource manager
. -
Uses of ResourceManager in org.apache.uima.flow.impl
Methods in org.apache.uima.flow.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
FlowControllerDescription_impl.doFullValidation
(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.impl
Methods in org.apache.uima.impl that return ResourceManagerModifier and TypeMethodDescriptionprotected ResourceManager
UIMAFramework_impl._newDefaultResourceManager()
To be implemented by subclasses; this should return a new instance of the defaultResourceManager
used by this implementation.protected ResourceManager
UIMAFramework_impl._newDefaultResourceManagerPearWrapper()
To be implemented by subclasses; this should return a new instance of the defaultResourceManager
used by this implementation.ChildUimaContext_impl.getResourceManager()
Gets the ResourceManager used by this UimaContext to locate and access external resourcesRootUimaContext_impl.getResourceManager()
Gets the ResourceManager used by this UimaContext to locate and access external resourcesMethods in org.apache.uima.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected CollectionProcessingManager
UIMAFramework_impl._newCollectionProcessingManager
(ResourceManager aResourceManager) void
ChildUimaContext_impl.initializeRoot
(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigurationManager) void
RootUimaContext_impl.initializeRoot
(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigurationManager) void
ChildUimaContext_impl.setPearResourceManager
(ResourceManager resourceManager) Set the Pear resource manager, to be used instead of any containing Resource Manager.static <T extends AbstractCas>
TUtil.setupViewSwitchClassLoaders
(CAS cas, boolean sofaAware, ComponentInfo componentInfo, ResourceManager resourceManager, Class<T> casInterface) static AbstractCas
Util.setupViewSwitchClassLoadersLockCas
(CAS cas, boolean sofaAware, ComponentInfo componentInfo, ResourceManager resourceManager, Class<? extends AbstractCas> casInterface) -
Uses of ResourceManager in org.apache.uima.internal.util
Methods in org.apache.uima.internal.util with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic ClassLoader
ClassLoaderUtils.findClassLoader
(ResourceManager aResMgr) Looks up a suitable class loader in the following order: The extension class loader of the givenResourceManager
SeeClassLoaderUtils.findClassLoader()
static <T> Class
<T> Class_TCCL.forName
(String className, ResourceManager rm) static <T> Class
<T> Class_TCCL.forName
(String className, ResourceManager rm, boolean resolve) static ClassLoader
Class_TCCL.get_cl
(ResourceManager rm) Deprecated.Method should not be used because if an extension classloader is set, the thread context classloader will be ignored. -
Uses of ResourceManager in org.apache.uima.resource
Subinterfaces of ResourceManager in org.apache.uima.resourceMethods in org.apache.uima.resource that return ResourceManagerModifier and TypeMethodDescriptionCasDefinition.getResourceManager()
Resource_ImplBase.getResourceManager()
Resource.getResourceManager()
Gets theResourceManager
that this Resource uses to locate other Resources.Methods in org.apache.uima.resource with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
ResourceCreationSpecifier.doFullValidation
(ResourceManager aResourceManager) Does full validation of thisResourceCreationSpecifier
.void
ResourceManagerPearWrapper.initializeFromParentResourceManager
(ResourceManager resourceManager) Deprecated.N O T E : N O L O N G E R U S E D 2018 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 thisResourceCreationSpecifier
is valid.Constructors in org.apache.uima.resource with parameters of type ResourceManagerModifierConstructorDescriptionCasDefinition
(Collection<? extends ProcessingResourceMetaData> aMetaDataToMerge, ResourceManager aResourceManager) CasDefinition
(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, ResourceManager aResourceManager, Properties aPerformanceTuningSettings) -
Uses of ResourceManager in org.apache.uima.resource.impl
Classes in org.apache.uima.resource.impl that implement ResourceManagerMethods in org.apache.uima.resource.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected void
ResourceCreationSpecifier_impl.checkForInvalidParameterOverrides
(ConfigurationParameter[] aParams, String aGroupName, ResourceManager aResourceManager) Checks parameter overrides and throws a ResourceInitializationException if they are invalid.void
ResourceCreationSpecifier_impl.doFullValidation
(ResourceManager aResourceManager) static Class
<?> ResourceManager_impl.loadUserClass
(String name, ResourceManager rm) static Class
<?> ResourceManager_impl.loadUserClassOrThrow
(String name, ResourceManager rm, ResourceSpecifier aSpecifier) 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.Constructors in org.apache.uima.resource.impl with parameters of type ResourceManager -
Uses of ResourceManager in org.apache.uima.resource.metadata
Methods in org.apache.uima.resource.metadata with parameters of type ResourceManagerModifier and TypeMethodDescriptionImport.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) Deprecated.Method is deprecated because it should only be used internally.void
FsIndexCollection.resolveImports
(ResourceManager aResourceManager) Resolves any import declarations in this FS Index Collection, adding the imported FsIndexDescriptions directly onto this FsIndexCollection'sfsIndexes
list.void
ProcessingResourceMetaData.resolveImports
(ResourceManager aResourceManager) Resolves any import declarations.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'sexternalResources
andexternalResourceBindings
lists.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'sexternalResources
andexternalResourceBindings
lists.void
ResourceMetaData.resolveImports
(ResourceManager aResourceManager) Resolves any import declarations throughout this metadata.void
TypePriorities.resolveImports
(Collection<String> aAlreadyImportedPriorityListURLs, ResourceManager aResourceManager) Deprecated.Method is deprecated because it should only be used internally.void
TypePriorities.resolveImports
(ResourceManager aResourceManager) Resolves any import declarations in this Type Priorities declaration, adding the importedTypePriorityList
objects directly onto this TypePriorities object'spriorityLists
.void
TypeSystemDescription.resolveImports
(Collection<String> aAlreadyImportedTypeSystemURLs, ResourceManager aResourceManager) Deprecated.Method is deprecated because it should only be used internally.void
TypeSystemDescription.resolveImports
(ResourceManager aResourceManager) Resolves any import declarations in this type system, adding the imported types directly onto this TypeSystemDescription'stypes
list. -
Uses of ResourceManager in org.apache.uima.resource.metadata.impl
Methods in org.apache.uima.resource.metadata.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionImport_impl.findAbsoluteUrl
(ResourceManager aResourceManager) void
FsIndexCollection_impl.resolveImports
(Collection<String> aAlreadyImportedFsIndexURLs, ResourceManager aResourceManager) Deprecated.void
FsIndexCollection_impl.resolveImports
(ResourceManager aResourceManager) void
ResourceManagerConfiguration_impl.resolveImports
(Collection<String> aAlreadyImportedURLs, ResourceManager aResourceManager) void
ResourceManagerConfiguration_impl.resolveImports
(ResourceManager aResourceManager) void
ResourceMetaData_impl.resolveImports
(ResourceManager aResourceManager) void
TypePriorities_impl.resolveImports
(Collection<String> aAlreadyImportedTypePrioritiesURLs, ResourceManager aResourceManager) Deprecated.void
TypePriorities_impl.resolveImports
(ResourceManager aResourceManager) void
TypeSystemDescription_impl.resolveImports
(Collection<String> aAlreadyImportedTypeSystemURLs, ResourceManager aResourceManager) Deprecated.void
TypeSystemDescription_impl.resolveImports
(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.taeconfigurator.editors
Methods in org.apache.uima.taeconfigurator.editors that return ResourceManagerModifier and TypeMethodDescriptionMultiPageEditor.createResourceManager()
Create a resource manager that has a class loader that will search the compiled output of the current project, in addition to the plug-in's classpath.MultiPageEditor.createResourceManager
(String classPath) Creates the resource manager.Methods in org.apache.uima.taeconfigurator.editors with parameters of type ResourceManagerModifier and TypeMethodDescriptionMultiPageEditor.createCas
(AnalysisEngineDescription aAeDescription, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates the cas. -
Uses of ResourceManager in org.apache.uima.test.junit_extension
Constructors in org.apache.uima.test.junit_extension with parameters of type ResourceManagerModifierConstructorDescriptionAnnotatorTester
(String descFilePath, ResourceManager mgr) Deprecated.Constructor save the specified descriptor file path and initialize the analysis engine. -
Uses of ResourceManager in org.apache.uima.tools.jcasgen
Methods in org.apache.uima.tools.jcasgen that return ResourceManagerModifier and TypeMethodDescriptionCreates the resource manager. -
Uses of ResourceManager in org.apache.uima.util
Methods in org.apache.uima.util with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic 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. 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
(TypeSystemDescription aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance.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) Deprecated.When a logger is used within UIMA, the resource manager is picked up from theUimaContextHolder
and if none is available, then the class loader set on theThread.getContextClassLoader()
is used.Constructors in org.apache.uima.util with parameters of type ResourceManagerModifierConstructorDescriptionCasPool
(int aNumInstances, Collection<? extends ProcessingResourceMetaData> aCollectionOfProcessingResourceMetaData, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CasPoolCasPool
(int aNumInstances, ProcessingResourceMetaData aMetaData, ResourceManager aResourceManager) Creates a new CasPool -
Uses of ResourceManager in org.apache.uima.util.impl
Methods in org.apache.uima.util.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoid
Logger_common_impl.setResourceManager
(ResourceManager resourceManager) Deprecated.
UimaContextAdmin.initializeRoot(Logger)
instead.