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).
Resources 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
ResourceSpecifierthat locates a resource file using its URL.AResourcethat has configuration parameters that can be changed after the Resource has been instantiated.Implementation base class forConfigurableResources.Manages the configuration parameters of all components within a possibly aggregateResource.A type ofResourceSpecifierthat specifically names the Java class that should be created.DataResourceis a simple resource that provides access to data.AnExternalResourceDependencyobject describes an resources's requirements on an external resource.AnExternalResourceDescriptionobject describes a resource that is loaded in theResourceManagerand may be shared between components.A type ofResourceSpecifierthat locates a resource file using its URL, where the URL depends on an ISO language identifier.A type ofResourceSpecifierthat 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 ofResourceSpecifierthat locate an installed pearResource.Used by the resource manager to resolve relative URLs to absolute URLs.Resourceis the general term for all UIMA components that can be acquired and used by an application (or by other resources).Implementation base class forResources.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.AResourceCreationSpecifieris the supertype ofAnalysisEngineDescription,CasConsumerDescription,CollectionReaderDescription, andCasInitializerDescription.Thrown byResource.initialize(ResourceSpecifier,Map)to indicate that a failure has occurred during initialization.AResourceManagerholds a collection ofResourceobjects, each registered under a specified key.Deprecated.Thrown to indicate that aResourcehas encountered a problem during its processing.Thrown to indicate that an error has occurred during communication with a remote resource service.AResourceServiceSpecifieris a type ofResourceSpecifierthat contains information that can be used to locate an existing resource available as a service.A stub that calls a remote AnalysisEngine service.AResourceSpecifiercontains 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 ofResourceSpecifierthat is an aggregate of otherResourceSpecifiers.An object that encapsulates all conversational state between a UIMAResourceand a particular client.TheSharedResourceObjectinterface must be implemented by all classes that provide access to resource data.A type ofResourceSpecifierthat locates an existingResourceservice by its URI.