Package org.apache.uima.resource
Resources
and ResourceSpecifiers
.
Resource
is the general term for all UIMA components
that can be acquired and used by an application (or by other resources).
Resource
s may be co-located with their client or distributed
as services. This is made transparent to the client.
A ResourceSpecifier
contains information that can be
used to acquire a reference to a Resource
, whether that is done by
instantiating the resource locally or locating an existing resource
available as a service.
The ResourceFactory
takes a ResourceSpecifier
and
returns an instance of the specified Resource
. Again, this can be
done by creating the instance or by locating an existing instance.
Most applications will not need to deal with this abstract
Resource
interface. UIMA Developers who need to introduce
new types of Resources, however, will need to implement the interfaces
in this package.
-
ClassDescriptionEncapsulates information that defines how to create a CAS.Manages creation and pooling of CAS instances within an AnalysisEngine.A type of
ResourceSpecifier
that locates a resource file using its URL.AResource
that has configuration parameters that can be changed after the Resource has been instantiated.Implementation base class forConfigurableResource
s.Manages the configuration parameters of all components within a possibly aggregateResource
.A type ofResourceSpecifier
that specifically names the Java class that should be created.DataResource
is a simple resource that provides access to data.AnExternalResourceDependency
object describes an resources's requirements on an external resource.AnExternalResourceDescription
object describes a resource that is loaded in theResourceManager
and may be shared between components.A type ofResourceSpecifier
that locates a resource file using its URL, where the URL depends on an ISO language identifier.A type ofResourceSpecifier
that locates a resource file using its URL.Base interface for objects that expose a monitoring and management interface to a UIMA component or some part of the UIMA framework.A general parameter having a name and a value, which are both strings.A resource that provides access to data, where the data can vary based on parameters.A type ofResourceSpecifier
that locate an installed pearResource
.Used by the resource manager to resolve relative URLs to absolute URLs.Resource
is the general term for all UIMA components that can be acquired and used by an application (or by other resources).Implementation base class forResource
s.Thrown to indicate a failure has occurred in attempting to access an external resource.Thrown to indicate that aResource
's configuration parameters could not be set.AResourceCreationSpecifier
is the supertype ofAnalysisEngineDescription
,CasConsumerDescription
,CollectionReaderDescription
, andCasInitializerDescription
.Thrown byResource.initialize(ResourceSpecifier,Map)
to indicate that a failure has occurred during initialization.AResourceManager
holds a collection ofResource
objects, each registered under a specified key.Deprecated.Thrown to indicate that aResource
has encountered a problem during its processing.Thrown to indicate that an error has occurred during communication with a remote resource service.AResourceServiceSpecifier
is a type ofResourceSpecifier
that contains information that can be used to locate an existing resource available as a service.A stub that calls a remote AnalysisEngine service.AResourceSpecifier
contains information that can be used acquire a reference to aResource
, whether that is done by instantiating the resource locally or locating an existing resource available as a service.A type ofResourceSpecifier
that is an aggregate of otherResourceSpecifier
s.An object that encapsulates all conversational state between a UIMAResource
and a particular client.TheSharedResourceObject
interface must be implemented by all classes that provide access to resource data.A type ofResourceSpecifier
that locates an existingResource
service by its URI.