Uses of Interface
org.apache.uima.resource.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.
Apache UIMA internals
Interfaces for
Resources
and ResourceSpecifiers
.Interfaces for objects that represent metadata for a
Resource.
Utility classes and interfaces used by UIMA components.
-
Uses of ResourceManager in org.apache.uima
Modifier and TypeFieldDescriptionstatic final ThreadLocal<ResourceManager>
UIMAFramework.newContextResourceManager
Modifier 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.Modifier 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) Initializes a root UimaContext.static CollectionProcessingManager
UIMAFramework.newCollectionProcessingManager
(ResourceManager aResourceManager) Creates a newCollectionProcessingManager
instance.static UimaContextAdmin
UIMAFramework.newUimaContext
(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigManager) Gets a new instance of aUimaContext
.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. -
Uses of ResourceManager in org.apache.uima.analysis_engine
Modifier and TypeMethodDescriptionAnalysisEngine.getResourceManager()
Gets theResourceManager
used by this AnalysisEngine.Modifier 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
Modifier and TypeMethodDescriptionPearAnalysisEngineWrapper.getCachedResourceManagers()
PearAnalysisEngineWrapper.getCachedResourceManagers()
Modifier 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
Modifier 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
Modifier and TypeMethodDescriptionvoid
AnalysisEngineMetaData_impl.resolveImports
(ResourceManager aResourceManager) void
FlowControllerDeclaration_impl.resolveImports
(ResourceManager aResourceManager) -
Uses of ResourceManager 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 ResourceManager in org.apache.uima.collection.metadata
Modifier and TypeMethodDescriptionCpeComponentDescriptor.findAbsoluteUrl
(ResourceManager aResourceManager) Returns the absolute URL where the component descriptor is located. -
Uses of ResourceManager in org.apache.uima.flow.impl
Modifier and TypeMethodDescriptionvoid
FlowControllerDescription_impl.doFullValidation
(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.impl
Modifier 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 resourcesModifier 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.resource
Modifier and TypeMethodDescriptionCasDefinition.getResourceManager()
Resource_ImplBase.getResourceManager()
Resource.getResourceManager()
Gets theResourceManager
that this Resource uses to locate other Resources.Modifier 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.ModifierConstructorDescriptionCasDefinition
(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
Modifier 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. -
Uses of ResourceManager in org.apache.uima.resource.metadata
Modifier 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
Modifier 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.util
Modifier 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.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.ModifierConstructorDescriptionCasPool
(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
Modifier and TypeMethodDescriptionvoid
Logger_common_impl.setResourceManager
(ResourceManager resourceManager) Deprecated.
UIMAFramework.produceAnalysisEngine(ResourceSpecifier,ResourceManager,Map)
should be used instead.