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.
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
Fields in org.apache.uima with type parameters of type ResourceManagerModifier and TypeFieldDescriptionstatic final ThreadLocal<ResourceManager>UIMAFramework.newContextResourceManagerMethods in org.apache.uima that return ResourceManagerModifier and TypeMethodDescriptionprotected abstract ResourceManagerUIMAFramework._newDefaultResourceManager()To be implemented by subclasses; this should return a new instance of the defaultResourceManagerused by this implementation.protected abstract ResourceManagerUIMAFramework._newDefaultResourceManagerPearWrapper()To be implemented by subclasses; this should return a new instance of the defaultResourceManagerPearWrapperused by this implementation.UimaContextAdmin.getResourceManager()Gets the ResourceManager instance used by this UimaContext to resolve external resource accesses.static ResourceManagerUIMAFramework.newDefaultResourceManager()Gets a new instance of the defaultResourceManagerused by this implementation.static ResourceManagerUIMAFramework.newDefaultResourceManagerPearWrapper()Gets a new instance of the defaultResourceManagerPearWrapperused by this implementation.Methods in org.apache.uima with parameters of type ResourceManagerModifier and TypeMethodDescriptionprotected abstract CollectionProcessingManagerUIMAFramework._newCollectionProcessingManager(ResourceManager aResourceManager) To be implemented by subclasses; this should create a new instance of a class implementingCollectionProcessingManager.voidUimaContextAdmin.initializeRoot(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigurationManager) Initializes a root UimaContext.static CollectionProcessingManagerUIMAFramework.newCollectionProcessingManager(ResourceManager aResourceManager) Creates a newCollectionProcessingManagerinstance.static UimaContextAdminUIMAFramework.newUimaContext(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigManager) Gets a new instance of aUimaContext.static AnalysisEngineUIMAFramework.produceAnalysisEngine(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anAnalysisEngineinstance from aResourceSpecifier.static CasConsumerUIMAFramework.produceCasConsumer(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCasConsumerinstance from aResourceSpecifier.static CasInitializerUIMAFramework.produceCasInitializer(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCasInitializerinstance from aResourceSpecifier.static CollectionProcessingEngineUIMAFramework.produceCollectionProcessingEngine(CpeDescription aCpeDescription, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces aCollectionProcessingEngineinstance from acpeDescription.static CollectionReaderUIMAFramework.produceCollectionReader(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces anCollectionReaderinstance from aResourceSpecifier.static ResourceUIMAFramework.produceResource(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Produces an appropriateResourceinstance of a specified class from aResourceSpecifier.static TextAnalysisEngineUIMAFramework.produceTAE(ResourceSpecifier aSpecifier, ResourceManager aResourceManager, Map<String, Object> aAdditionalParams) Deprecated. -
Uses of ResourceManager in org.apache.uima.analysis_engine
Methods in org.apache.uima.analysis_engine that return ResourceManagerModifier and TypeMethodDescriptionAnalysisEngine.getResourceManager()Gets theResourceManagerused by this AnalysisEngine.Methods in org.apache.uima.analysis_engine with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidAnalysisEngineDescription.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 ofResourceSpecifiers that indicate which delegate AnalysisEngines comprise the aggregate.voidAnalysisEngineDescription.resolveImports(Collection<String> aAlreadyImportedDelegateAeUrls, ResourceManager aResourceManager) Resolves all import declarations in this AnalysisEngineDescription.voidAnalysisEngineDescription.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 voidAnalysisEngineDescription_impl.checkForInvalidParameterOverrides(ConfigurationParameter[] aParams, String aGroupName, ResourceManager aResourceManager) OverridesResourceCreationSpecifier_impl.checkForInvalidParameterOverrides(ConfigurationParameter[], String, ResourceManager)to validate parameter overrides in an aggregate AE.voidAnalysisEngineDescription_impl.doFullValidation(ResourceManager aResourceManager) AnalysisEngineDescription_impl.getAllComponentSpecifiers(ResourceManager aResourceManager) AnalysisEngineDescription_impl.getDelegateAnalysisEngineSpecifiers(ResourceManager aResourceManager) protected voidAnalysisEngineDescription_impl.resolveDelegateAnalysisEngineImports(Collection<String> aEnclosingAggregateAeUrls, ResourceManager aResourceManager, boolean aRecursive) Resolves imports of delegate Analysis Engines.protected voidAnalysisEngineDescription_impl.resolveDelegateAnalysisEngineImports(ResourceManager aResourceManager, boolean aRecursive) Resolves imports of delegate Analysis Engines.voidAnalysisEngineDescription_impl.resolveImports(Collection<String> aAlreadyImportedDelegateAeUrls, ResourceManager aResourceManager) voidAnalysisEngineDescription_impl.resolveImports(ResourceManager aResourceManager) voidAnalysisEngineDescription_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 TypeMethodDescriptionvoidFlowControllerDeclaration.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 TypeMethodDescriptionvoidAnalysisEngineMetaData_impl.resolveImports(ResourceManager aResourceManager) voidFlowControllerDeclaration_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 TypeMethodDescriptionvoidCasConsumerDescription_impl.doFullValidation(ResourceManager aResourceManager) voidCasInitializerDescription_impl.doFullValidation(ResourceManager aResourceManager) Deprecated.voidCollectionReaderDescription_impl.doFullValidation(ResourceManager aResourceManager) -
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.flow.impl
Methods in org.apache.uima.flow.impl with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidFlowControllerDescription_impl.doFullValidation(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.impl
Methods in org.apache.uima.impl that return ResourceManagerModifier and TypeMethodDescriptionprotected ResourceManagerUIMAFramework_impl._newDefaultResourceManager()To be implemented by subclasses; this should return a new instance of the defaultResourceManagerused by this implementation.protected ResourceManagerUIMAFramework_impl._newDefaultResourceManagerPearWrapper()To be implemented by subclasses; this should return a new instance of the defaultResourceManagerused 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 CollectionProcessingManagerUIMAFramework_impl._newCollectionProcessingManager(ResourceManager aResourceManager) voidChildUimaContext_impl.initializeRoot(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigurationManager) voidRootUimaContext_impl.initializeRoot(Logger aLogger, ResourceManager aResourceManager, ConfigurationManager aConfigurationManager) voidChildUimaContext_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 AbstractCasUtil.setupViewSwitchClassLoadersLockCas(CAS cas, boolean sofaAware, ComponentInfo componentInfo, ResourceManager resourceManager, Class<? extends AbstractCas> casInterface) -
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 theResourceManagerthat this Resource uses to locate other Resources.Methods in org.apache.uima.resource with parameters of type ResourceManagerModifier and TypeMethodDescriptionvoidResourceCreationSpecifier.doFullValidation(ResourceManager aResourceManager) Does full validation of thisResourceCreationSpecifier.voidResourceManagerPearWrapper.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.voidCasDefinition.setResourceManager(ResourceManager resourceManager) voidResourceCreationSpecifier.validate(ResourceManager aResourceManager) Checks that thisResourceCreationSpecifieris 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 voidResourceCreationSpecifier_impl.checkForInvalidParameterOverrides(ConfigurationParameter[] aParams, String aGroupName, ResourceManager aResourceManager) Checks parameter overrides and throws a ResourceInitializationException if they are invalid.voidResourceCreationSpecifier_impl.doFullValidation(ResourceManager aResourceManager) static Class<?>ResourceManager_impl.loadUserClass(String name, ResourceManager rm) static Class<?>ResourceManager_impl.loadUserClassOrThrow(String name, ResourceManager rm, ResourceSpecifier aSpecifier) voidResourceCreationSpecifier_impl.validate(ResourceManager aResourceManager) protected voidResourceCreationSpecifier_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.voidFsIndexCollection.resolveImports(Collection<String> aAlreadyImportedFsIndexCollectionURLs, ResourceManager aResourceManager) Deprecated.Method is deprecated because it should only be used internally.voidFsIndexCollection.resolveImports(ResourceManager aResourceManager) Resolves any import declarations in this FS Index Collection, adding the imported FsIndexDescriptions directly onto this FsIndexCollection'sfsIndexeslist.voidProcessingResourceMetaData.resolveImports(ResourceManager aResourceManager) Resolves any import declarations.voidResourceManagerConfiguration.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'sexternalResourcesandexternalResourceBindingslists.voidResourceManagerConfiguration.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'sexternalResourcesandexternalResourceBindingslists.voidResourceMetaData.resolveImports(ResourceManager aResourceManager) Resolves any import declarations throughout this metadata.voidTypePriorities.resolveImports(Collection<String> aAlreadyImportedPriorityListURLs, ResourceManager aResourceManager) Deprecated.Method is deprecated because it should only be used internally.voidTypePriorities.resolveImports(ResourceManager aResourceManager) Resolves any import declarations in this Type Priorities declaration, adding the importedTypePriorityListobjects directly onto this TypePriorities object'spriorityLists.voidTypeSystemDescription.resolveImports(Collection<String> aAlreadyImportedTypeSystemURLs, ResourceManager aResourceManager) Deprecated.Method is deprecated because it should only be used internally.voidTypeSystemDescription.resolveImports(ResourceManager aResourceManager) Resolves any import declarations in this type system, adding the imported types directly onto this TypeSystemDescription'stypeslist. -
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) voidFsIndexCollection_impl.resolveImports(Collection<String> aAlreadyImportedFsIndexURLs, ResourceManager aResourceManager) Deprecated.voidFsIndexCollection_impl.resolveImports(ResourceManager aResourceManager) voidResourceManagerConfiguration_impl.resolveImports(Collection<String> aAlreadyImportedURLs, ResourceManager aResourceManager) voidResourceManagerConfiguration_impl.resolveImports(ResourceManager aResourceManager) voidResourceMetaData_impl.resolveImports(ResourceManager aResourceManager) voidTypePriorities_impl.resolveImports(Collection<String> aAlreadyImportedTypePrioritiesURLs, ResourceManager aResourceManager) Deprecated.voidTypePriorities_impl.resolveImports(ResourceManager aResourceManager) voidTypeSystemDescription_impl.resolveImports(Collection<String> aAlreadyImportedTypeSystemURLs, ResourceManager aResourceManager) Deprecated.voidTypeSystemDescription_impl.resolveImports(ResourceManager aResourceManager) -
Uses of ResourceManager in org.apache.uima.util
Methods in org.apache.uima.util with parameters of type ResourceManagerModifier and TypeMethodDescriptionstatic CASCasCreationUtils.createCas(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance for a collection of CAS Processors.static CASCasCreationUtils.createCas(Collection<? extends MetaDataObject> aComponentDescriptionsOrMetaData, TypeSystem aTypeSystem, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance for a collection of CAS Processors, which.static CASCasCreationUtils.createCas(TypeSystem aTypeSystem, TypePriorities aTypePriorities, FsIndexDescription[] aFsIndexes, Properties aPerformanceTuningSettings, ResourceManager aResourceManager) Creates a new CAS instance that reuses an existing type system.static CASCasCreationUtils.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 FsIndexCollectionCasCreationUtils.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 ProcessingResourceMetaDataCasCreationUtils.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 TypePrioritiesCasCreationUtils.mergeDelegateAnalysisEngineTypePriorities(AnalysisEngineDescription aAggregateDescription, ResourceManager aResourceManager) Merges the Type Priorities of each component within an aggregate Analysis Engine, producing a single combined TypePriorities object.static TypeSystemDescriptionCasCreationUtils.mergeDelegateAnalysisEngineTypeSystems(AnalysisEngineDescription aAggregateDescription, ResourceManager aResourceManager) Merges the Type Systems of each component within an aggregate Analysis Engine, producing a single combined Type System.static TypeSystemDescriptionCasCreationUtils.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 FsIndexCollectionCasCreationUtils.mergeFsIndexes(List<? extends FsIndexCollection> aFsIndexCollections, ResourceManager aResourceManager) Merges a List of FsIndexCollections into a single FsIndexCollection object.static TypePrioritiesCasCreationUtils.mergeTypePriorities(List<? extends TypePriorities> aTypePriorities, ResourceManager aResourceManager) Merges a List of TypePriorities into a single TypePriorities object.static TypeSystemDescriptionCasCreationUtils.mergeTypeSystems(Collection<? extends TypeSystemDescription> aTypeSystems, ResourceManager aResourceManager) Merges several TypeSystemDescriptions into one.static TypeSystemDescriptionCasCreationUtils.mergeTypeSystems(Collection<? extends TypeSystemDescription> aTypeSystems, ResourceManager aResourceManager, Map<String, Set<String>> aOutputMergedTypes) Merges several TypeSystemDescriptions into one.voidLogger.setResourceManager(ResourceManager resourceManager) Deprecated.When a logger is used within UIMA, the resource manager is picked up from theUimaContextHolderand 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 TypeMethodDescriptionvoidLogger_common_impl.setResourceManager(ResourceManager resourceManager) Deprecated.
UIMAFramework.produceAnalysisEngine(ResourceSpecifier,ResourceManager,Map)should be used instead.