Uses of Interface
org.apache.uima.resource.Resource
Packages that use Resource
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.
Classes and interfaces for collection processing.
uimaFIT-enhanced base classes for UIMA components and some simple components.
uimaFIT annotations used for dependency injection.
Example for an UIMA-based experiment running an analysis and evaluating the results.
Examples for using the
ExternalResource
annotation.Factories to create different kinds of UIMA resource specifiers.
INTERNAL API - May change without further notice.
Apache UIMA internals
Interfaces for
Resources
and ResourceSpecifiers
.Utility classes and interfaces used by UIMA components.
-
Uses of Resource in org.apache.uima
Methods in org.apache.uima that return ResourceModifier and TypeMethodDescriptionResourceFactory.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
.Method parameters in org.apache.uima with type arguments of type ResourceModifier and TypeMethodDescriptionResourceFactory.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
. -
Uses of Resource in org.apache.uima.adapter.vinci
Classes in org.apache.uima.adapter.vinci that implement ResourceModifier and TypeClassDescriptionclass
Reference implementation ofAnalysisEngineServiceAdapter
for Vinci.Constructors in org.apache.uima.adapter.vinci with parameters of type ResourceModifierConstructorDescriptionVinciAnalysisEngineServiceStub
(String endpointURI, Integer timeout, Resource owner, Parameter[] parameters) Instantiates a new vinci analysis engine service stub.VinciAnalysisEngineServiceStub
(String endpointURI, Resource owner) Instantiates a new vinci analysis engine service stub. -
Uses of Resource in org.apache.uima.analysis_component
Classes in org.apache.uima.analysis_component that implement Resource -
Uses of Resource in org.apache.uima.analysis_engine
Subinterfaces of Resource in org.apache.uima.analysis_engineModifier and TypeInterfaceDescriptioninterface
An Analysis Engine is a component responsible for analyzing unstructured information, discovering and representing semantic content.interface
Deprecated. -
Uses of Resource in org.apache.uima.analysis_engine.asb
Subinterfaces of Resource in org.apache.uima.analysis_engine.asbModifier and TypeInterfaceDescriptioninterface
The Analysis Structure Broker (ASB
) is the component responsible for the details of communicating with Analysis Engines that may potentially be distributed across different physical machines. -
Uses of Resource in org.apache.uima.analysis_engine.asb.impl
Classes in org.apache.uima.analysis_engine.asb.impl that implement ResourceModifier and TypeClassDescriptionclass
A simpleASB
implementation.class
Container for a FlowController. -
Uses of Resource in org.apache.uima.analysis_engine.impl
Classes in org.apache.uima.analysis_engine.impl that implement ResourceModifier and TypeClassDescriptionclass
Reference implementation ofAnalysisEngine
.class
Provides functionality common to Analysis Engine implementations.class
Base class for analysis engine processor adapters.class
AnAnalysisEngine
implementation that can process multipleCAS
objects simultaneously.class
UIMA pear runtime analysis engine wrapper.class
Reference implementation ofAnalysisEngine
.class
Reference implementation ofAnalysisEngine
. -
Uses of Resource in org.apache.uima.analysis_engine.service.impl
Classes in org.apache.uima.analysis_engine.service.impl that implement ResourceModifier and TypeClassDescriptionclass
Base class for analysis engine service adapters.Methods in org.apache.uima.analysis_engine.service.impl that return types with arguments of type Resource -
Uses of Resource in org.apache.uima.collection
Subinterfaces of Resource in org.apache.uima.collectionModifier and TypeInterfaceDescriptioninterface
Any component that operates on analysis results produced by a UIMA analysis engine.interface
Deprecated.As of v2.0, CAS Initializers are deprecated.interface
ACollectionReader
is used to iterate over the elements of a Collection.Classes in org.apache.uima.collection that implement ResourceModifier and TypeClassDescriptionclass
Base class for CAS Consumers in UIMA SDK v1.x, which developers should extend with their own CAS Consumer implementation classes.class
Deprecated.As of v2.0, CAS Initializers are deprecated.class
Base class for Collection Readers, which developers should extend with their own Collection Reader implementation classes. -
Uses of Resource in org.apache.uima.collection.base_cpm
Subinterfaces of Resource in org.apache.uima.collection.base_cpmModifier and TypeInterfaceDescriptioninterface
The BaseCollectionReader
interface.interface
ACasDataCollectionReader
is used to iterate over the elements of a Collection.interface
Any component that operates on analysis results produced by a UIMA CasDataProcessor.interface
Deprecated.As of v2.0, CAS Initializers are deprecated.Classes in org.apache.uima.collection.base_cpm that implement ResourceModifier and TypeClassDescriptionclass
Base class from which to extend when writing Collection Readers that use theCasData
interface to access the CAS.class
Base class from which to extend when writing CAS Consumers that use theCasData
interface to access the CAS.class
Deprecated.As of v2.0, CAS Initializers are deprecated. -
Uses of Resource in org.apache.uima.collection.impl.base_cpm.container
Classes in org.apache.uima.collection.impl.base_cpm.container that implement ResourceModifier and TypeClassDescriptionclass
Base interface for implementing a Container object responsible for managing Cas Processor instances at runtime. -
Uses of Resource in org.apache.uima.collection.impl.cpm.container
Classes in org.apache.uima.collection.impl.cpm.container that implement ResourceModifier and TypeClassDescriptionclass
Manages a pool of CasProcessor instances. -
Uses of Resource in org.apache.uima.fit.component
Classes in org.apache.uima.fit.component that implement ResourceModifier and TypeClassDescriptionclass
Base class for CAS collection readers which initializes itself based on annotations.class
Base class for JCas collection readers which initializes itself based on annotations.class
Base class for external resources which initializes itself based on annotations. -
Uses of Resource in org.apache.uima.fit.descriptor
Subinterfaces of Resource in org.apache.uima.fit.descriptorModifier and TypeInterfaceDescriptioninterface
Get instance of external resource. -
Uses of Resource in org.apache.uima.fit.examples.experiment.pos
Classes in org.apache.uima.fit.examples.experiment.pos that implement ResourceModifier and TypeClassDescriptionclass
This collection reader is meant for example purposes only. -
Uses of Resource in org.apache.uima.fit.examples.resource
Classes in org.apache.uima.fit.examples.resource that implement ResourceModifier and TypeClassDescriptionstatic class
Simple example resource that can use another resource. -
Uses of Resource in org.apache.uima.fit.factory
Methods in org.apache.uima.fit.factory with type parameters of type ResourceModifier and TypeMethodDescriptionstatic <R extends Resource>
RExternalResourceFactory.createResource
(Class<R> resourceClass, Object... params) Create an instance of a UIMA shared/external resource class.static <R extends Resource>
RExternalResourceFactory.createResource
(Class<R> resourceClass, ResourceManager resMgr, Object... params) Create an instance of a UIMA shared/external resource class.Method parameters in org.apache.uima.fit.factory with type arguments of type ResourceModifier and TypeMethodDescriptionstatic void
ExternalResourceFactory.bindResource
(ResourceSpecifier aDesc, Class<? extends Resource> aRes, String... aParams) Scan the given resource specifier for external resource dependencies and whenever a dependency with a compatible type is found, the resource will be bound.static void
ExternalResourceFactory.bindResource
(ResourceSpecifier aDesc, String aKey, Class<? extends Resource> aRes, String... aParams) Scan the given resource specifier for external resource dependencies and whenever a dependency with the given key is encountered, the given resource is bound to it.static void
ExternalResourceFactory.createDependencyAndBind
(ResourceSpecifier aDesc, String aKey, Class<? extends Resource> aImpl, Class<?> aApi, String... aParams) Create a new dependency for the specified resource and bind it.static void
ExternalResourceFactory.createDependencyAndBind
(ResourceSpecifier aDesc, String aKey, Class<? extends Resource> aImpl, String... aParams) Create a new dependency for the specified resource and bind it.static ExternalResourceDescription
ExternalResourceFactory.createNamedResourceDescription
(String aName, Class<? extends Resource> aInterface, Object... aParams) Create an external resource description for a custom resource.static ExternalResourceDescription
ExternalResourceFactory.createResourceDescription
(Class<? extends Resource> aInterface, Object... aParams) Create an external resource description for a custom resource. -
Uses of Resource in org.apache.uima.fit.factory.locator
Classes in org.apache.uima.fit.factory.locator that implement ResourceModifier and TypeClassDescriptionclass
Deprecated.To be removed without replacement -
Uses of Resource in org.apache.uima.fit.internal
Classes in org.apache.uima.fit.internal that implement ResourceModifier and TypeClassDescriptionclass
INTERNAL API - Helper resource used when anExternalResource
annotation is used on an array or collection field. -
Uses of Resource in org.apache.uima.fit.spring.factory
Methods in org.apache.uima.fit.spring.factory that return ResourceModifier and TypeMethodDescriptionAnalysisEngineFactory_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) CustomResourceFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Method parameters in org.apache.uima.fit.spring.factory with type arguments of type ResourceModifier and TypeMethodDescriptionAnalysisEngineFactory_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) CustomResourceFactory_impl.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) -
Uses of Resource in org.apache.uima.fit.spring.util
Methods in org.apache.uima.fit.spring.util that return ResourceModifier and TypeMethodDescriptionstatic Resource
ResourceInitializationUtil.initResource
(Resource aResource, org.springframework.context.ApplicationContext aApplicationContext) Handle Spring-initialization of resoures produced by the UIMA framework.Methods in org.apache.uima.fit.spring.util with parameters of type ResourceModifier and TypeMethodDescriptionstatic Resource
ResourceInitializationUtil.initResource
(Resource aResource, org.springframework.context.ApplicationContext aApplicationContext) Handle Spring-initialization of resoures produced by the UIMA framework. -
Uses of Resource in org.apache.uima.fit.util
Methods in org.apache.uima.fit.util with parameters of type Resource -
Uses of Resource in org.apache.uima.impl
Methods in org.apache.uima.impl that return ResourceModifier and TypeMethodDescriptionAnalysisEngineFactory_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) Method parameters in org.apache.uima.impl with type arguments of type ResourceModifier and TypeMethodDescriptionAnalysisEngineFactory_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 Resource in org.apache.uima.internal.util
Methods in org.apache.uima.internal.util that return ResourceModifier and TypeMethodDescriptionResourcePool.getResource()
Checks out a Resource from the pool.ResourcePool.getResource
(long aTimeout) Checks out a Resource from the pool.Methods in org.apache.uima.internal.util that return types with arguments of type ResourceMethods in org.apache.uima.internal.util with parameters of type ResourceModifier and TypeMethodDescriptionvoid
ResourcePool.checkoutSpecificResource
(Resource r) void
ResourcePool.releaseResource
(Resource aResource) Checks in a Resource to the pool.Method parameters in org.apache.uima.internal.util with type arguments of type ResourceModifier and TypeMethodDescriptionprotected void
ResourcePool.fillPool
(ResourceSpecifier aResourceSpecifier, Class<? extends Resource> aResourceClass, Map<String, Object> aResourceInitParams) Utility method used in the constructor to fill the pool with Resource instances.Constructor parameters in org.apache.uima.internal.util with type arguments of type ResourceModifierConstructorDescriptionResourcePool
(int aNumInstances, ResourceSpecifier aResourceSpecifier, Class<? extends Resource> aResourceClass) Creates new ResourcePool_implResourcePool
(int aNumInstances, ResourceSpecifier aResourceSpecifier, Class<? extends Resource> aResourceClass, Map<String, Object> aResourceInitParams) Creates new ResourcePool_impl -
Uses of Resource in org.apache.uima.resource
Subinterfaces of Resource in org.apache.uima.resourceModifier and TypeInterfaceDescriptioninterface
AResource
that has configuration parameters that can be changed after the Resource has been instantiated.interface
DataResource
is a simple resource that provides access to data.interface
A resource that provides access to data, where the data can vary based on parameters.Classes in org.apache.uima.resource that implement ResourceModifier and TypeClassDescriptionclass
Implementation base class forConfigurableResource
s.class
Implementation base class forResource
s. -
Uses of Resource in org.apache.uima.resource.impl
Classes in org.apache.uima.resource.impl that implement ResourceModifier and TypeClassDescriptionclass
A simpleDataResource
implementation that can read data from a file via a URL.class
A simpleDataResource
implementation that can read data from a file via a URL.class
An implementation ofParameterizedDataResource
for language-based resources.Fields in org.apache.uima.resource.impl with type parameters of type Resource -
Uses of Resource in org.apache.uima.resource.service.impl
Classes in org.apache.uima.resource.service.impl that implement ResourceModifier and TypeClassDescriptionclass
Insulates applications from the knowledge that they are interacting with aResourceService_impl
rather than a local instance of aResource
.Methods in org.apache.uima.resource.service.impl that return ResourceModifier and TypeMethodDescriptionprotected Resource
ResourceService_impl.getResource()
Gets the Resource that delivers the functionality for this resource.Methods in org.apache.uima.resource.service.impl that return types with arguments of type ResourceModifier and TypeMethodDescriptionResourceService_impl.getResourceClass()
Gets the Class of resource that provides the functionality for this service. -
Uses of Resource in org.apache.uima.test.junit_extension
Classes in org.apache.uima.test.junit_extension that implement ResourceModifier and TypeClassDescriptionclass
Deprecated.To be removed without replacement. -
Uses of Resource in org.apache.uima.tools.components
Classes in org.apache.uima.tools.components that implement ResourceModifier and TypeClassDescriptionclass
A simple collection reader that reads documents from a directory in the filesystem.class
A simple CAS consumer that generates inline XML and writes it to a file.class
A simple CAS consumer that generates XCAS (XML representation of the CAS) files in the filesystem.class
A simple CAS consumer that writes the CAS to XMI format. -
Uses of Resource in org.apache.uima.util
Fields in org.apache.uima.util with type parameters of type ResourceModifier and TypeFieldDescriptionSimpleResourceFactory.mClassMap
Map from ResourceSpecifier Class to List of Resource Classes.Methods in org.apache.uima.util that return ResourceModifier and TypeMethodDescriptionSimpleResourceFactory.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces an appropriateResource
instance from aResourceSpecifier
.Method parameters in org.apache.uima.util with type arguments of type ResourceModifier and TypeMethodDescriptionSimpleResourceFactory.produceResource
(Class<? extends Resource> aResourceClass, ResourceSpecifier aSpecifier, Map<String, Object> aAdditionalParams) Produces an appropriateResource
instance from aResourceSpecifier
.
AnalysisEngine
should be used instead.